luigiplr / react-router-redux-rxjs-code-splitting

An example React Redux app using React Router & RxJS for route management & chunk loading respectively.
https://luigiplr.github.io/react-router-redux-rxjs-code-splitting
GNU General Public License v3.0
55 stars 11 forks source link

Code-splitting + server rendering #2

Open veeramarni opened 7 years ago

veeramarni commented 7 years ago

I have noticed in the react-router (v4) docs that they have failed in achieving Code-splitting + server rendering. Were you able to try it with RxJS. I'm hoping with RxJS we could able to do Code-splitting + server rendering.

luigiplr commented 7 years ago

Hey @veeramarni just a little bit swamped at work, in a week or so I'll be writing up a sister post that goes in depth into it!

veeramarni commented 7 years ago

Thanks for your quick update. We want to make some architecture decisions whether to use react-router v4 or stick to v3 due to it. I'm not sure whether you used both in any production app but sure your blog will help many ones out there.

I understand how the code splitting works in your app but not sure whether it is working with SSR. I will give a try with your app.