Everyone loves ReactJS.
JS frameworks blow the world out there with each new framework each week.
But when we talk about a server-side-rendering framework, there're still limited choices.
I've played around with VueJS, FusionJS and NextJS and some other "smaller" SSR frameworks, my pick is NextJS, here's why.
- File-based routing.
Aha, i don't need to code anything to make my React application routable ! Even more, it's not only client-side routing, it's server-side routing , too.
I call it old-but-genius idea about how routing should be done.
The benefit here is, you'll get route-based code splitting for FREE !
- getInitialProps
In old versions of ReactJS, we have getInitialState
, i'm sure React developers will miss it very much.
And NextJS "steals" that idea to make our React component got its initial data server-side rendered !
If you still not use NextJS yet, try it out today !
Top comments (1)
Have you tried Nuxt?!