vercel / next.js

The React Framework
https://nextjs.org
MIT License
125.46k stars 26.8k forks source link

Redux-observable server side fetching #15971

Open shh8te opened 4 years ago

shh8te commented 4 years ago

This example is a page that renders information about Star-Wars characters. It fetches new character every 3 seconds having the initial character fetched on a server.

well, I just deployed this example for myself, and wether disabled js or not it doesn't fetches the first sw character's data on a server. Fields just empty with disabled js and the message below is

(was user fetched on server? - false)

Can somebody please fix this and show finally how to implement ssr with redux-observable?

MagneH commented 4 years ago

I am experiencing the same.

leandroscls commented 3 years ago

Not sure why https://github.com/vercel/next.js/pull/13615 got merged it has broken this example commit 2a473ab42 (with-redux-observable/pages/index.js) has a working example in case someone wants to see how to get this working with redux-observable making a call from the server and page rendering only when it has a response