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

321
Vistas
NextJS getStaticProps, getServerSideProps not currently work with redux-observable

getStaticProps, getServerSideProps not currently work with redux-observable

When am going to dispatch action from getServerSideProps it's fired and getting data but not updating redux reducer state, am using next-redux-observable.

getServerSideProps:

export const getServerSideProps = wrapper.getServerSideProps(store => async ({ req }) => {
  store.dispatch(loadUsers())
});

Action:

export const loadUsers = () => ({ type: USER_CONST.LIST_LOAD })

One more issue I have found is, HYDRATE is in action first and after that reducers are going to be updated, but the component doesn't find the state.

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