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

139
Vistas
How to use electron-redux in electron and react app to share state in multiple react renderer processes

I use electron and react to build desktop application, in the way electron-redux works you need to import the reducers in the main and in the renderer processes as well , in case of react you can not import files outside of src folder, and by putting the reducers inside the src folder and import it in the main process fails because electron uses ES5 importing syntax and react uses ES6, when electron import the reducers it seems to force the entire file to use ES5 syntax,

after making all import/export statements in the reducers file to use ES5, electron still complains and actually complains about syntax that used in other react files other than the reducers file !

Is there a solution for this , or there is another way to use redux in electron react application ?

Thanks

about 4 years ago · Juan Pablo Isaza
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