DEV Community

Discussion on: How to server-side render React, hydrate it on the client and combine client and server routes

Collapse
 
marvelouswololo profile image
MarvelousWololo

Hey, bro! What's up? I'm actually not using Redux here. But initiate it on the server could be useful in case you want to dispatch some stuff on the server first. :)

I'm glad you found it useful!

The react-router is set up both on the server and client because you need a root provider for your React app in both cases. Cheers!