Skip to content
This repository was archived by the owner on Aug 7, 2021. It is now read-only.

docs: update breaking changes/migration #795

Merged
merged 1 commit into from
Feb 11, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,15 @@

### BREAKING CHANGES

This version enables *Hot Module Replacement* feature in NativeScript Angular projects by default.
There is no need to manually accept *hot* changes and you could safely remove the `module["hot"]` code inside your entry module.
* Hot Module Replacement in NativeScript Angular Project

### Migration
This version enables the *Hot Module Replacement* feature in NativeScript Angular projects by default.

So far it was required to add a snippet to enable HMR. With this release, you have to __remove__ any previous `module["hot"]` related code so HMR can work out of the box.

Steps:
- update the plugin by `npm i -D [email protected]`
- update the `webpack.config.js` file by `./node_modules/.bin/update-ns-webpack --configs --deps`
- remove any `module["hot"]` code inside your entry module.
However, if you want to continue handling *hot* changes manually, follow [these](https://github.com/NativeScript/nativescript-angular/wiki/NativeScript-5.2-HMR-with-Angular#how-to-manually-enable-hmr-in-nativescript-angular-projects-with-n-52) instructions.

### Migration

Please, refer to [this](https://github.com/NativeScript/nativescript-angular/wiki/NativeScript-5.2-HMR-with-Angular) wiki page for detailed information.

Expand Down