useReducer Made Easy with React Native [In 19 Minutes] - 2022

Опубликовано: 15 Май 2026
на канале: Moreality
966
13

📱 MOREALITY

💻 SUMMARY
Learn what the useReducer hook is and how it works
Develop code to implement the useReducer hook using React Native
Use iPhone simulator to display output to the device
Show Expo CLI usage to reload the app on the simulator
Work through example variations to see how useReducer behaves

🌍 SOCIALS
Instagram -   / moreality.dev  
Facebook -   / teammoreality  
LinkedIn -   / moreality  
Twitter -   / morealitydev  
Discord -   / discord  

❤️ SUPPORT
Donate - https://www.buymeacoffee.com/richharvey

📚 RESOURCES
useReducer Doc - https://reactjs.org/docs/hooks-refere...
Avoid Passing Callbacks Down - https://reactjs.org/docs/hooks-faq.ht...

🕐 TIMESTAMPS
00:09 Introduction
01:18 Setup Reducer Hook and UI
06:00 UI Setup
10:00 Touchable Opacity Functionality
12:20 useState Advanced Concept
13:50 Lazy Initialization
17:22 useReducer Demo
17:49 Bailing
18:21 Summary

🏷 TAGS
#react #reactnative #javascript