shakacode / react_on_rails

Integration of React + Webpack + Rails + rails/webpacker including server-side rendering of React, enabling a better developer experience and faster client performance.
https://www.shakacode.com/react-on-rails/docs/
MIT License
5.08k stars 627 forks source link

Update docs for react_router using SSR #1632

Open jeremylynch opened 1 week ago

jeremylynch commented 1 week ago

The current docs for react-router are outdated and incomplete: https://www.shakacode.com/react-on-rails/docs/javascript/react-router/

It would be great to update the following:

And a full end-to-end example of setting react_router with SSR would be fantastic!

justin808 commented 1 week ago

You are right! @jeremylynch any chance that you could add a PR?

BTW -- nice profile picture! I'm a surfer as well.

jeremylynch commented 1 week ago

Thanks Justin!

I would happily do so, but I couldn't get this to work despite much trial and error.

Are there any example apps which show a working version of this? If I can find one I can update the docs