Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

314
Views
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
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!