Redux

Because we use a single source to literally store the entire state (our Redux store), it becomes extremely easy to transfer state between components. This is one of the most convenient aspects of using Redux. You do not have to worry where the date is coming from because you have a truly reliable source, your Redux store.

The states are always predictable in Redux. Since the same states and actions are passed on to the reducers, you will always achieve the same results, as reducer functions are pure. This state is also constant, as it is never changing and won’t be modified.

Redux is much easier to edit and maintain between coders, as there is a strict order and organization to its structure. For example; there will also be the store carrying the state, the actions, reducers, and the components and the shared connection.

Debugging applications is somewhat easier with Redux as well. The system is standard using logging behaviors and status network errors, coding errors, and other bug types that will allow any developer with a firm understanding of Redux to easily debug applications.

Because Redux is based on functional programming, once you find your groove and style, you can write reusable code. This will help you in the future to create simpler apps that are easy to identify, test, edit, and maintain with Redux.

--

--

--

Flatiron School Graduate - Web Developer, Playwright

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

The Array Filter() Method for Beginners

Basic JavaScript Flow Chart

HOC (Higher-Order Components)/ Component Wrapping/ Render Props with examples

How Do I Convert a Decimal to a String with Thousands Separators?

Version 6 of Angular Now Available

Easily call a method after a time delay in Godot

this looks great, link to V's piece?

Results of #JavaScriptmas Challenge on Scrimba!

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Christina Williams

Christina Williams

Flatiron School Graduate - Web Developer, Playwright

More from Medium

React: Components, Hooks and State

React: Introduction to useState and useEffect

React Router v6. What Changed ?

What is React Router, Why use it and How to use it ?