Vite is a build tool that aims to provide a faster and leaner development experience for modern web projects. It consists of two major parts:

  • A dev server that provides rich feature enhancements over native ES modules, for example extremely fast Hot Module Replacement (HMR).

  • A build command that bundles your code with Rollup, pre-configured to output highly optimized static assets for production.

Why do we adopt this technology?

CRA has been deprecated, and while server side frameworks such as NextJS or Remix are good replacements if we want to run it on the server. For some products a Singe Page Application is a better choice.