facebook / create-react-app

Set up a modern web app by running one command.
https://create-react-app.dev
MIT License
102.39k stars 26.75k forks source link

Add Vite to the template #12154

Open vanillajonathan opened 2 years ago

vanillajonathan commented 2 years ago

Is your proposal related to a problem?

Hot Module Replacement (HMR) can be slow in large SPA. Tooling is difficult to configure, example proxy things to a backend API.

Describe the solution you'd like

Vite is a front end tooling with lightning fast Hot Module Replacement (HMR). Instead of recompiling the whole application it just replaces the module that changed, this makes it very fast, especially for larger SPAs resulting in a better developer experience through a faster inner development loop. Easier configuration with vite.config.js.

junjie-lean commented 2 years ago

same demand , i need bundleless tools.

steve-taylor commented 2 years ago

@vanillajonathan you might as well use Vite instead of CRA. Migrating from CRA to Vite is super simple. Bonus: It also works in a monorepo, unlike CRA.

nickserv commented 2 years ago

same demand , i need bundleless tools.

@junjie-lean Vite still bundles in production