natemcmaster / aspnetcore-webpack-hmr-demo

Demo of ASP.NET Core + webpack + hmr, and a few other things (Open issues on https://github.com/natemcmaster/blog)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ASP.NET Core + Webpack + HMR Demo

A minimal demo showing how to configure:

  • Webpack 4
  • ASP.NET Core 2.1
  • React
  • Hot Module Replacement
  • TypeScript
  • Yarn

One of the primary benefits of configuring HMR is that you can quickly prototype changes to your client code without having to reload the browser or restart the web server. ASP.NET Core's webpack middleware will automatically start a watcher process to live-reload your changes.

screenshot

About

Demo of ASP.NET Core + webpack + hmr, and a few other things (Open issues on https://github.com/natemcmaster/blog)


Languages

Language:C# 47.4%Language:JavaScript 45.8%Language:TypeScript 6.8%