DEV Community

jelugbadebo
jelugbadebo

Posted on

React Dev Server takes forever to Launch

Why does the React Dev Server take so long to launch?

It takes like 2+ minutes for it to launch.

Any fixes?

Please help!!

Top comments (3)

Collapse
 
raibtoffoletto profile image
Raí B. Toffoletto

That's the babel/webpack combo from create react app. It's slow and depending on your machine can take a looong time.

At work I switched all projects using CRA to Vite and I'm quite happy with it.

Collapse
 
musabdev profile image
Musab

Use vite - npm create vite@latest

Collapse
 
9opsec profile image
9opsec

If you are using "create-react-app" I would recommend switching to Vite. It's much faster.