Made with love and Ruby on Rails. The issue was solved by updating react-scripts to 5.0.0. To start, we're going to create a state object. What fixed it for me was going to pages where this was occurring and forcing the import to be dynamic: Commenting out the original import and importing the component dynamically forces the client-side rendering of the component. I saw what looked like a bunch of HTML mixed with JavaScript and thought, isn't this what we've been trying to avoid? I run npm run eject in order to modify the webpack config. We can call the property whatever we want, as long as it's not a reserved keyword, so I'll go with characterData. The onClick prop on the built-in DOM