- [Instructor] Hot Module Replacement is an advanced…feature of Webpack dev middleware.…With this feature on,…it not only builds the client artifacts automatically,…but also pushes the builder output to the browser.…So there is no need to refresh the browser.…And that makes development experience even better.…Let's move over to our Visual Studio project…and let me show you what it does for us.…
Here is my ASP.NET Core Single-Page Application…that I created with React as the front end.…In the startup process configure method,…we have Webpack turned on,…but Hot Module Replacement feature is turned off,…I have commented this line out.…The second line, React Hot Module Replacement, is…for React with the redux project where,…with this turned on,…the in-memory state of the object will be preserved.…
Let me turn on Hot Module Replacement.…Uncomment this line, save,…and run the project.…For the purpose of this demo,…I am showing you the Visual Studio window…and browser window side by side.…Now, we see the homepage with Hello, world!…
AuthorKazi Nasrat Ali
- Setting up a dev environment
- Front-end frameworks
- Templates: React.js, Angular.js, Vue.js, Aurelia.js
- NodeServices and Node.js
- Single-page application services
- Using HMR (Hot Module Replacement)
- Performing server-side prerendering
- Using node-chartist
- Creating a database, tables, and stored procedures
- Creating data models, controllers, and actions
- Adding React components and subcomponents
- Testing and publishing an app
Skill Level Intermediate
1. Exploring ASP.NET Core SPA Project Templates
3. Creating a React and ASP.NET Core App
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.