Open christophediprima opened 5 years ago
Hi,
I am planning to implement SSR when React.lazy
officially supports it.
Do you also have some ideas on how you will handle pre-fetching?
I am using following library https://github.com/BerkeleyTrue/react-redux-epic and dispatching actions in the "getData" prop of my routing components.
I don't think React.Lazy
will help on waiting for calls in epics to be finished...
Something like this:
defer
, wait for 'complete', and decrease counter by 1Also you can check PR from redux-observable https://github.com/redux-observable/redux-observable/pull/539
Hello!
Do you have any plans on supporting SSR? I am currently working on building a similar stack but yours look way more elegant.
Here it is: https://github.com/christophediprima/razzle-react-redux-observable-found
It supports server side rendering and pre-fetching based on route resolution. I am thinking about trying to replace my redux solution with typeless... any pre-advice would be very welcome! :)