I keep getting minified React error #130 when trying to use React-Bootstrap dropdowns in my project. I remixed the Glitch starter-react project to see if I could get it working there, but I’m having the same issue.
Any assistance of direction would be appreciated!
Here is the project:
Glitch starter-react with react-bootstrap dropdown
Here is what I did to try and get the dropdown working:
- Added “react-bootstrap”: “^0.32.4” as a dependency in package.json.
- Required react-bootstrap in app/components/HelloWorld.jsx
- Pasted dropdown menu code from the react-bootstrap docs website at line 27 of app/components/HelloWorld.jsx
Here is the error I’m getting:
bundle.js:37 Uncaught Error: Minified React error #130. Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: undefined.**
MOD EDIT: removed join token