I think it’s also necessary to update the script src attribute in default.jsx.
process.env.NODE_ENV === ‘development’ ?
I ended up changing it to the following (but I could be missing something? Should it be different when not in development?):
(I’m really new to React and couldn’t figure out why my onClicks weren’t working properly until I noticed that my app was unable to load ‘main.js’. Thanks for the tutorial! It has been extremely helpful.)