DEV Community

Cover image for Please stop using create react app.
RotrixX
RotrixX

Posted on • Originally published at blog.rotrixx.eu

1

Please stop using create react app.

Instead, use vite.

You probably heard: "create react app sucks".

But why? Let's start from zero.

You can create a react app in different ways:

  • create-react-app and vite

But why not use create react app?

Bruh, because it's simply deprecated. Like nobody uses that thing in 2022.

Well, yes, millennials do that.

Now seriously:

  • Slower loading speeds
  • Bad optimized SEO
  • No ability for staging production builds
  • Hard to configure if you dislike the default configuration

that sucks dude - kyle broflovski

What to use instead?

Some tools like Vite. I use that thing. It just... works. I love it.

But why?

Vite has templates and plugins that you can install as project dependencies or use them. You can find a list of that and more here.

clapping leonardo dicaprio

Conclusion

Don't waste your time using that thing called "create-react-app", get rid of that, and use Vite 🎉!

okay i like that

You can help me if you follow me in

Seriously. It's free. Please star some repos.

And that's it, if you liked it, give a reaction or comment.

Follow me here if you liked this.

✨Have a nice day!

Heroku

This site is built on Heroku

Join the ranks of developers at Salesforce, Airbase, DEV, and more who deploy their mission critical applications on Heroku. Sign up today and launch your first app!

Get Started

Top comments (0)

Cloudinary image

Video API: manage, encode, and optimize for any device, channel or network condition. Deliver branded video experiences in minutes and get deep engagement insights.

Learn more