State vs Props in React

props and state hold information and it’s related to the component, they look similar but used differently and should be kept separate.

props  –  It’s set by the parent component and should not be changed.
state  –  Allows React components to dynamically change output over time in response to certain events.

Continue reading State vs Props in React

An Introduction to Redux

Redux is a predictable state container for JavaScript apps. It’s a popular library to manage state in React apps. Redux maintains the state of an entire application in a single immutable state tree (object), which can’t be changed directly. When something changes, a new object is created (using actions and reducers).

Benefits Of Redux

Continue reading An Introduction to Redux