Needs advice
on
React Router
Next.js
and
Gatsby

I'm creating a website with React in my free time, and this is my first time doing this. So far, I've worked with React and React Router, but migrating to Next.js or Gatsby would cover Routing and SEO, which I currently cannot work with. Most things I read say that Next.js is the best solution, but I am trying to decide whether it is worth the time and effort to recreate the site for SEO and speed purposes. Does anyone have suggestions?

READ LESS
3 upvotes·63.3K views
Replies (2)
Owner at Valxer·
Recommends
Next.js

Routing in Next is trivial. NextJS allows 3 modes of use: static, generated on the server side or on the client side (SPA). For the first two just overwrite two methods to generate the pages on the server side (static generation) or generate them on the fly (SSR). If I want to add some logic that also works on the client side, the static page or generated on the server side is re-hydrated on the client side (the SPA part is added by latching onto the static part through meta-data transparent to the client. If Javascript is turned off the first two work without problems, to the advantage of indexing. In the case of static pages the speed is practically instantaneous. I highly recommend NextJS on Vercel.

READ MORE
3 upvotes·4.8K views
Recommends
Next.js

Next.js is great. I use it over standard React all the time. I haven't used Gatsby, so I can't talk about it.

READ MORE
1 upvote·286 views
Avatar of Zachary Collazo