/chapter-12-lets-build-our-store

Chapter-12 is all about handling data using external state management library `Redux`. We discussed the problems with other ways of data management like Props drilling and Context API. All about Redux Toolkit vs React-Redux and its step by step configuration and implementation in this chapter.

Primary LanguageJavaScript

Learn React With Harshi 👩🏻‍💻 Series

Documenting my learning journey of Namaste React Live Course conducted by Akshay Saini

Class Summary Chapter-12 Let's build our store (04/02/2023)

Chapter-12 is all about handling data using external state management library Redux. Akshay made it easy to understand this knowledge heavy complex concept. We discussed the problems with other ways of data management like Props drilling and Context API. Importance of Redux, Redux Toolkit vs React-Redux and step by step configuration and implementation of React Redux were done in this chapter. Jargons like reducer, dispatch, action, selector, slice, store, state, subscription were explained clearly. It was mind blowing and still could not stop thinking about it.

Find my version of detailed explanation of these concepts in theory-assignment.md. Check coding-assignment.md for all the features that I implemented in this chapter.

One line about this chapter : When we need to make a modification in the store, we must first dispatch an action that calls a reducer function which updates the slice of the store, and when we want to read from the store, we must first call a Selector Hook (function) for subscribing only to the required slice of store, which can be used to update the data in the component.

Check out Chapter-12 Live for the live demo of this chapter's coding assignment (InstaFood Version 6.0). Also check out the following chapters to see how InstaFood has progressed. Happy Reacting !!!

If you are interested in other chapters of this series, please browse through the my repositories

If you want to quickly see a short summary and live demo of all chapters, please have a look at Table of contents