DEV Community

Discussion on: Use Vite for React Apps instead of CRA

Collapse
 
seancassiere profile image
Sean Cassiere

Yup, I completely agree!

I recently migrated a large Typescript CRA app to Vite, and loved the dev server and build times.

Although I ran into a weird a couple bugs, which REQUIRED me have the import React statement in all my .tsx files (something which CRA didn't need), and the component exported from the react-moment package outright didn't work.

Outside of these couple issues, been loving the switch and improved dev experience.