React bootstrap throwing invalid hook error in react.js
If you ever run into this issue follow the instructions below.
your code/project is missing the react-bootstrap package. It is not listed in the package.json file in your directory.
To add locally for your project, run from the project directory:
npm i -s react-bootstrap
This will install the current version of react-bootstrap and add/save it to the package.json dependencies section..
for more details about react-bootstrap try visiting this link: https://react-bootstrap.github.io/getting-started/introduction
Comments
Post a Comment