Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

108
Visualizações
Invalid Hook Call with React Redux and Bootstrap

I'm trying to use Bootstrap with Redux, however it always produces an Invalid Hook Call. Here's what I did:

  • npx create-react-app somethingapp
  • npm install bootstrap react-bootstrap
  • npm install redux react-redux

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!

about 4 years ago · Juan Pablo Isaza
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda