Dear Dev.to community.
A couple weeks ago I started learning React and also introduced it at work as the goto frontend development framework/library.
I started out with the create-react-app cli and had no big limitations so far.
I'm now at the point where I hear about all the other cool stuff that tries to enhance react.
So my question is:
What's the main difference between all these frameworks and when/why would/should I use any of those?
Top comments (4)
Hi!
What I recommend to anyone starting React is setting up your own development environment. That means installing and configuring Webpack, Babel, CSS preprocessors and everything you need to run your project.
It may sounds boring or useless, but the experience and understanding of these tools helps you decide in the future what tool is the right one for your project. CRA may be excellent for prototyping but Next is great for SEO and speed. It's all up to you!
Hope my answer helped!
I would recommend not to setup Webpack, Babel, CSS preprocessors. This is incidental complexity. You want to write and deliver website, right? All this has nothing to your initial goal. For example, you can take CRA and start to write website without spending time on webpack. Or you can take parcel and start to write website without spending time on webpack. Convention over configuration.
Back to original answer.
A bit more here dev.to/stereobooster/server-side-r...
I'm not super up on this ecosystem, but they all offer slightly different things.
I believe...
Hope that helps. I'm not a user of any of this stuff so I might be offbase.
Sometime your don't need Next.js or Gatsby, CRA is more than enough, read my post Prerender React App for SEO without SSR or Next.js