TLDR: For those who have continuously shared they are interested in reading the updates from this project: Here is goes, this is the last part of the 11-part series (massive Yay!)
TLDR2: Please note the disclaimers in the write up (on the use of switch…case in reducers, on using the React-Redux Hooks API and on using Redux Toolkit)
The tiny little JS project has now been rebuilt 11 different ways going from Vanilla Js (with only 3 lines of functional JS code) to using React Redux and building the UI with React Hooks. Every step has been incremental across the series of 11 write ups. There is a write up about each build.
This week I am using Redux Thunk to call an asynchronous endpoint to request the data from an external resource (all while still building the UI with React Hooks).
If you are interested, there is also a repo linked in the write up: https://morsewall.com/random-quote-part-11-react-hooks-react-redux-and-redux-thunk-using-various-front-end-stacks/
A quick TLDR explaining the project: https://morsewall.com/projects/making-a-random-quote-machine-in-different-flavors/