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

140
Visualizações
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 à 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