React global state management with Context API (no Redux)
In my last project, I had to share state between many components. Most of them didn't share a common parent, so passing state with props and a callback function was not an option, also it would be inconvenient to do so. Therefore I used React's Conte...
muratcanyuksel.hashnode.dev6 min read
CapsCode
Empowering students with coding skills & businesses with IT solutions. Learn, innovate, and grow with our edtech & web development expertise
I totally agree with this line *Context API is an easy and no-hassle way for developers who wish to share data between components without using a third party library like Redux.*
But sometimes it depends on the data as well that which type of data and how dynamic is the data & accordingly we should choose the 3rd party library.
Thanks