useContext Made Easy with React Native [In 25 Minutes] - 2022

Опубликовано: 28 Сентябрь 2024
на канале: Moreality
2,482
26

📱 MOREALITY

💻 SUMMARY
- Learn what the useContext hook is and how it works
- Develop code to implement the useContext 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 useContext behaves

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

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

📚 RESOURCES
useContext Doc - https://reactjs.org/docs/hooks-refere...
Detailed useContext Examples - https://reactjs.org/docs/context.html

🕐 TIMESTAMPS
00:09 Introduction
01:44 Setup Context File
03:11 Setup PageOne File
05:43 Setup PageTwo File
06:44 Setup useContextHook File
10:04 Debugging
12:34 Adding Style
15:58 Adding + and - Buttons
19:43 Explaining Final Build
23:14 Summary

🏷 TAGS
#react #reactnative #javascript