Building a random quote machine with React Hooks and JSON


This is Part 9 of the Making a random quote machine in a few different flavors series.

You can read more about this project’s background on the project’s page. Or start from the beginning with part 1 of this series.

If you’re curious about the next flavors, you should subscribe to Morse Wall. I think you’ll like it a lot!

In flavor #8, I’m creating function components in a React app with Hooks and I have the data (quotes) inside an array. In this flavor, the data is inside a JSON file (like in flavor #7), but here I’m creating function components in a React app with Hooks (not using React classes like previously).