Why we should convert react app to use Esbuild

preview_player
Показать описание
Here we explore the slowness in Webpack while setting up the initial react application.
After setting up the react application using CRA tool , we start the process of converting this to an Esbuild application by installing dependencies and live server capability for detecting live changes and thus increasing developer productivity.

Our current build tools for the web are 10-100x slower than they could be. The main goal of the esbuild bundler project is to bring about a new era of build tool performance, and create an easy-to-use modern bundler along the way.

Major features:

Extreme speed without needing a cache
ES6 and CommonJS modules
Tree shaking of ES6 modules
An API for JavaScript and Go
TypeScript and JSX syntax
Source maps
Minification
Plugins
Check out the getting started instructions if you want to give esbuild a try.
Рекомендации по теме