Why Redux in React App?
What is this article about?
If you working with web app you might have heard of State Manager at some. In smaller apps we aren’t required to build State Manager, but if we are building big applications we need to build some state manager because we sure are going to use same state in multiple component, so, to do that if we are going with previous ways we need to pass the states as props to different components or use context api which later becomes big mess and headache to handle and quite confusing! to avoid this developer comes up with idea of state manager. There are different state manages available like MobX, Apollo Link State, Redux and so on. Here we are going to focus on Redux.
Redux itself is a standalone library that can be used with any UI layer or framework, including React, Angular, Vue, Ember, and vanilla JS. Although Redux and React are commonly used together, they are independent of each other.