I'm trying to use Bootstrap with Redux, however it always produces an Invalid Hook Call. Here's what I did:
Then on my App.js, I did this:
import {Button} from 'react-bootstrap'
function App() {
return (
<div>
<h1>asdasd</h1>
<Button>Welcome</Button>
</div>
);
}
export default App;
Then got this error: Error: Invalid Hook Call
I kinda don't understand why this is happening but I think it's somewhat related to Redux? Because if I don't install Redux and still use bootstrap the way I use it above, it works with no errors or anything.
Is there any way to use Bootstrap at all without Redux messing everything up? Thanks!