Reducers are functions that are fed into the Redux store which uses a switch statement based on the action sent returns a desired state or the default state.
Usage instructions can be found on the page that link is leading to.
Simply pick one of the snapshots in the /code folder – the subfolder names are chosen such that they are easy to match against lecture names in this course section.
You also find section slides (if available) in that Github repository.
Connect: Extracting Data with mapStateToProps: https://react-redux.js.org/using-react-redux/connect-mapstate
Understanding React-Redux and mapStateToProps() : https://stackoverflow.com/questions/38202572/understanding-react-redux-and-mapstatetoprops
Understanding Redux Concept in 5 Minutes | What is Redux ? | Redux Analogy | Redux Lifecycle:
Props can be more than basic data types
event.persist() should be called when using React synthetic events inside an asynchronous callback function
React + Fetch – HTTP PUT Request Examples: https://jasonwatmore.com/post/2020/11/02/react-fetch-http-put-request-examples
Create a form for updating a remote item with React
URL Parameters with React Router: https://www.cluemediator.com/url-parameters-with-react-router