I went through some previous issues and came to know that you guys do not want to add SSR to this repo as it would be not good for beginners. But Still SSR / Server Side Rendering is a very important thing for anyone who wants to deploy code to production as any site which is not showing up in google results is in most cases as good as non existant.
I really love this starter kit and the minimalistic approach and small learning curve with this, But Please can you guys add SSR capability to this Awesome react starter kit (at least in a separate branch). So that people like us can use this awesome starter kit without any downsides and not have to go through the trouble of other big react starter kits which are heavily bloated and a pain to get up and running for beginners.
Would be Really thankful to you guys at facebook!!
Thank You
If you're looking for an easy to use, zero setup tool for server rendering available now, you might want to check out Next.js that was released this week. Next.js has a very similar philosophy to Create React App in terms of avoiding unnecessary configuration and it makes server rendering easy to do with minimal changes to your components.
Ultimately server side rendering is very hard to add in a meaningful way without also taking opinionated decisions about routing and data fetching. We don't intend to make such decisions at this time so Next.js indeed seems like a better match for you. Cheers!
To use next.js we should rewrite the app or keep working with create-react-app and just addnig next.js module?
You don't need to "rewrite" the app (your code is still your code).
But you'd need to create a new Next.js project and follow its documentation to figure out how to add your existing code to it.
Yes, if you use Next.js, you can't use Create React App.
CRA should probably make those opinionated decisions. It has made so many opinions so far.
Hi all, I can highly recommend Razzle along with my Razzle Material UI Styled Example for those who need Server Side Rendering right now and the easy way.
Most helpful comment
CRA should probably make those opinionated decisions. It has made so many opinions so far.