Redux Library

Jack
2 min readFeb 1, 2021

createStore() and connect()

Redux allows us to access ‘props’ throughout our project and have one global state. In this post, we’ll go in depth on createStore() and connect() when implementing Redux.

First, we need to define some things. We need a reducer when using Redux, like the example below.

--

--

Jack

Magician, Mathematician, and Software Engineer