Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

102
Vistas
Redux Toolkit Connect with Javascript Class

I recently integrated Redux ToolKit with my react app. I have this one component that is a JavaScript class, and I'm not sure how to connect redux with it.

I am exporting this class by instantiating the class. (ie: export let class = new Class())

Appreciate any help!

about 4 years ago · Juan Pablo Isaza
1 Respuestas
Responde la pregunta

0

From outside of React, you just import your store and interact with it. But be aware that there is no mechanism to update your class automatically when a certain store contents changes unless you write one on your own.

Edit: might have read your question wrong. If you are using a class component, you will have to use the connect api of react-redux. https://react-redux.js.org/tutorials/connect

about 4 years ago · Juan Pablo Isaza Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda