Hello, my friends and fellow developers, in this video, I have talked about the Context API in React which is a very powerful way to manage state in your Rea...
In this video, We have talked about the Context API in React which is a very powerful way to manage state in your React app.
🔥 Timestamps Start 🔥
0:00 - Introduction 1:05 - Optimizing the folder structure 3:17 - Getting Started with Context API 4:32 - Filling the context file 5:13 - createContext and Providers 8:04 - Wrapping the app inside the Provider 8:50 - The useContext hook 9:31 - Accessing the state from the Context 10:39 - Quick Example 16:57 - Conclusion
Article covers: How native is react native?, React Native vs (Ionic, Cordova), Similarities and difference between React Native and Native App Development.
I have been using React JS in my projects for quite some time now and am used to managing routing in my app using the react-router package. I have always been keen on having as little dependencies in my apps as possible, so, I always felt perturbed by the use of this particular package in simpler apps which did not have complex routes.
In this video I wanted to show the basics of Redux in React, I didn't go over anything complex as I wanted this to be a beginners introduction into Redux. Let me know in the comments if you would like to see more content on redux such as Redux Thunk.