I am updating an older app's Ruby and Rails versions and attempting to get all of the feature tests passing. Most of them were failing due to still relying on c
Components aren't rendering because of the Uncaught ReferenceError error. The error is thrown in one of the React API files (see the code in question below). I'
I'm using react_component in my Rails project. This inserts a wrapping div for the react.js component, e.g. <div data-react-class="ButtonSwitchToTab" data-r