reading-notes

View the Project on GitHub TrunkOfUkuleles/reading-notes

Questions

  1. Why choose Redux instead of the Context API for global state? for largert projects Redux handles things cleanly, but is a little chunky for small apps.
  2. What is the purpose of a reducer? takes an action and makes changes to global state based on actions
  3. What does an action contain? type and payload
  4. Why do we need to copy the state in a red

Vocab

immutable state - state that is not able to be affected time travel in redux - stepping back through the history of state management actions action creator - basically a constructor to generate actions to be sent to the reducer reducer - takes in actions and makes state updates accordingly dispatch - proccess of taking an action and sending it to the reducer

Preview

Which 3 things had you heard about previously and now have better clarity on? reduc store, reducers, chaining reducers Which 3 things are you hoping to learn more about in the upcoming lecture/demo? how to render the damn cart button, integrating auth/local; storage into the redux system What are you most excited about trying to implement or see how it works? getting a clean and responsive version of this