YoVDO

Replace Webpack with Esbuild as Your Bundler with Create React App

Offered By: Chris Hay via YouTube

Tags

React Courses Web Development Courses

Course Description

Overview

Learn how to replace Webpack with esbuild as the bundler for React applications created using Create React App in this 28-minute video tutorial. Discover how to speed up your development workflow by implementing a faster JavaScript bundler. Follow along as the instructor guides you through creating a React app, understanding build scripts, installing and configuring esbuild, handling inline SVGs with plugins, setting up a web server, and implementing hot reloads. By the end of the tutorial, you'll have a working React app using esbuild as the bundler, with improved development speed and efficiency.

Syllabus

- intro
- creating a react app with create-react-app
- understanding create-react-app build scripts
- installing esbuild
- understanding esbuild
- replacing cra build script with esbuild
- using plugings to handle inline svg's
- creating a build script including the esbuild-plugin-inline-image plugin
- starting our webserver with http-server
- fixing index.html public_url
- adding our bundles to the index.html
- importing react to app.js
- a working react app using esbuild
- fixing npm start with http-server
- using esbuild as a development server with esbuild serve
- hot reloads
- finale


Taught by

Chris Hay

Related Courses

Introduction to ReactJS
Microsoft via edX
Front-End Web Development with React
The Hong Kong University of Science and Technology via Coursera
Multiplatform Mobile App Development with React Native
The Hong Kong University of Science and Technology via Coursera
Client-based Web Applications development: ReactJS & Angular
Universidad Politécnica de Madrid via Miríadax
React
Udacity