Skip to content

imjorgemor/fast-refresh-template

Repository files navigation

Fast refresh react template

React Starter Boilerplate with React Fast Refresh and Webpack 5

Background and situationship

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.

Features

  • React 18
  • React Fast Refresh
  • Webpack 5
  • Typescript support (check Typescript branch)
  • Node env supported
  • basic eslint configuration for react (also with typescript support)

Getting started

Install dependencies

$ npm install

Runs the app in the development mode

$ npm start

Available scripts

$ 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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published