blog 406

Discuss in words something you learned in class today or this week.

Redux gives us the ability to keep all of the global state in a store as a single state tree/JS object. By using different components such as store, reducer, action, and middleware we are able to set a new state based on user interaction. It can be cumbersome to set up but gaining access to the global state is worth it.

What are “actions” in Redux?

What is the role of reducers in Redux?

What is the meaning of “single source of truth” in Redux?

Explain the components of Redux.