useContext | React Hooks
Redux manage the global state but
useState() and useReducer() manage the local state in the component.
So Redux is a global state manager.
ContextAPI is same as Redux , but it's built-in in React , and it has a different syntax.
the context consum...
omarsaade.hashnode.dev1 min read
Developer Avocado
Frontend developer. Debugging this world one console.log() at a time
Thanks for explanation ๐