jelugbadebo Posted on Feb 19, 2023 • Edited on Feb 19, 2023 React Dev Server takes forever to Launch #webdev #react #help 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) Subscribe Submit Preview Dismiss Collapse Expand Musab Musab Musab Follow Faith, code, and solitude — a programmer’s way of life. Email musabwebdev@gmail.com Location Earth Joined Feb 3, 2023 • Feb 20 '23 Dropdown menu Copy link Hide Use vite - npm create vite@latest Collapse Expand Raí B. Toffoletto Raí B. Toffoletto Raí B. Toffoletto Follow Musician by training, Coder by trade. OSS, Web & *nix enthusiast. Email rai@toffoletto.me Location Oporto Education self-taught Work WebDev Joined Nov 17, 2019 • Feb 20 '23 Dropdown menu Copy link Hide 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 Expand 9opsec 9opsec 9opsec Follow Joined Dec 11, 2022 • Feb 19 '23 Dropdown menu Copy link Hide If you are using "create-react-app" I would recommend switching to Vite. It's much faster. Code of Conduct • Report abuse
Top comments (3)
Use vite -
npm create vite@latestThat'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.
If you are using "create-react-app" I would recommend switching to Vite. It's much faster.