2

I have unsuccessfully found a tutorial for setting up isomorphic server side rendering with an ejected create react app.

I know of react SDK, but this isn't ejected, and there are quite a few tutorials on non-ejected created react apps.

Could anyone help locate one, or link to a project that is an example of ejected app now an isomorphic SSR? Ideally without redux for simplicity.

webpack-isomorphic-tools provides clues but it really doesn't do much more than that.

Kevin Danikowski
  • 4,620
  • 6
  • 41
  • 75

2 Answers2

2

Check out Paragons. It's a great Universal React SPA starting point. Plus it has Code Splitting all ready to go, SEO support, Sass, React Router v4, and much much more...

Dan
  • 267
  • 2
  • 6
  • took a bit of setup, they forgot to mention you need to `npm i -g yo npx`, but works like a charm! Thank you @dan – Kevin Danikowski Aug 06 '18 at 16:36
  • 1
    `npx -p yo generator-paragons my-app` should do the trick too and that way you don't have to install `yo` globally. – Dan Aug 06 '18 at 17:36
1

you can check this on it is being ejected https://github.com/agungsb/create-react-app-ssr-pwa

mks
  • 351
  • 1
  • 3
  • 16