React Starter Boilerplate with React Fast Refresh and Webpack 5
Find a background and situation in my last post in Medium. It is really interesting how fast-refresh has evolved during the years. Visit my blog entry where I go from the begining of hot reload to the current fast refresh.
- React 18
- React Fast Refresh
- Webpack 5
- Typescript support (check Typescript branch)
- Node env supported
- basic eslint configuration for react (also with typescript support)
Install dependencies
$ npm install
Runs the app in the development mode
$ npm start
$ npm run build
Will create a build
directory containing your compiled code.
$ npx servor build
Recommended to launch locally a server with the build modules