React Redux FIS Project

Henry Phan
2 min readFeb 22, 2021

--

home

I honestly started doubting myself and did not think writing this blog would ever be possible because finishing my project was nearly impossible. I’m sure these weird times are hard for anyone. Better late than never, even though this took me longer than I had ever wanted to take. I’m near the finish line for Flatiron school and getting ready to line up and start a new journey as a full stacked developer. Like my previous projects, my goal is to build an app. This time around using create-react-app to start my frontend and creating an API to handle data persistence with a database through Rails.

start quiz by category

I created a simple multiple-choice quiz app. Using the same questions and answers from my backend API providing the user the option to study by flipping flashcards in addition to a multiple-choice quiz. Users will need to select a category to render the quiz or flashcards. Users have the ability to add, edit, and remove questions/flashcards.

I didn’t really run into any issues, but one thing I forgot to do had me confused why my app wasn’t running as it should, which is restarting nodejs after a package install. Ultimately my code was acceptable, but my app was not working. What is happening is that the module is cached after the first time load (load is synonymous with ‘required’). They are placed in the require.cache. This means that every future require for a previously loaded module will load the same object loaded by the first require.

--

--

No responses yet