Redux
See redux for base redux(global state management)
React component's state and action dispatching methods/event handles is now passed in as props by redux
So redux changes passed in as props, trigger rerender
Components Types
Container Components
Wrapper handle state management/redux and dispatchs presentational comps can do
Presentational Components
Present their props just as normal react components and use their prop callbacks
Forms can keep track of their own state so UI can sync
Basics
Provider
Provide your store to all your React components, wrap your app
Connect
Connect store state to component props
Last updated