Skip links

Three Principles of Redux

Single Source of Truth State is Ready Only Changes are made with Pure functions (reducers) Single Source of Truth The global state of your application is stored as an object inside a single tree. For example, continuing with the previous post: State is Read Only The only way to change the state is to dispatch […]

Getting started with Redux

Redux is a pattern and a library for organizing global state in your application, outside of the React componentry. Redux, itself, does not depends on any UI library. It’s most commonly-used with React. And the idea is that you provide a separation between the code that manages your data and updates it and the parts […]