@adedipe
Trying to help people solve business problems with technology.
I am a front end developer. My major tools are React and react native. I currently work for two companies, using react for web in one and react native for mobile apps in the other. This blog is place for me to share my occasional thoughts and experiences working with react and other javascript tools.
PS: I wont always talk about tech.
I am available for jobs(fulltime/contract), speaking events etc.
useContext can be used when your app isn't very complex, for example if you want to use a variable in multiple files, and you know that the value of that variable is going to be the same across those files. You can add useReducer if you need to have a moderately complex state management in your app, for example if you're fetching some data from an external API and you want to be able to manage how you dispatch actions. Redux would work better if, your app state is updated frequently, logic to update the state is complex. etc. this blog post goes into further details https://blog.isquaredsoftware.com/2021/01/context-redux-differences/