Skip to content

dgroomes/react-toolchains-playground

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

7 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

react-toolchains-playground

Learning and exploring build toolchains and bundlers in the context of a React app: Vite, webpack, esbuild, etc.

Overview

Learning the concepts, patterns and APIs of React is hard enough. Learning how to build a React app (JSX transpilation, bundling, dev server, etc.) is its own challenge. This repository is my own reference for building React apps with the various popular build toolchains and bundlers. By contrast, https://github.com/dgroomes/react-playground is where I explore React itself.

NOTE: This project was developed on macOS. It is for my own personal use.

Standalone subprojects

This repository illustrates different build toolchains and bundling approaches via standalone subprojects. Each subproject is completely independent of the others and do not depend on the root project. This standalone subproject constraint forces the subprojects to be complete and maximizes the reader's chances of successfully running, understanding, and re-using the code.

The subprojects include:

zero-build-cdn/

A zero-build-step React project implemented with Babel's in-browser compiler @babel/standalone. This is React the CDN way.

See the README in zero-build-cdn/.

vite/

A React project built with Vite. It features TypeScript.

See the README in vite/.

webpack/

A React project built with webpack. It features TypeScript and ts-loader.

See the README in webpack/.

esbuild/

A bare-bones React and TypeScript project built with esbuild.

See the README in esbuild/.

Wish List

General clean-ups, todos and things I wish to implement for this project:

About

๐Ÿ“š Learning and exploring build toolchains and bundlers in the context of a React app: Vite, webpack, esbuild, etc.

Topics

Resources

Stars

Watchers

Forks