Overview
{N} 5.0 includes Beta version of the Hot Module Replacement (HMR) feature provided by webpack which makes possible to replace modules in a bundled application while the application is running.
A possible improvement after the Beta release is applying changes in styles instantly.
The first step on this journey is to apply changes in application styles app.(css|scss) at runtime.
Current State
A change in application styles app.(css|scss) triggers a navigation to the same page where the change is applied.
Future State
A change in application styles app.(css|scss) applies on the current page, avoiding its reloading/navigating to the same page and preserving the state of the page and navigation history.
Related to #6398.
Overview
{N} 5.0 includes
Betaversion of the Hot Module Replacement (HMR) feature provided bywebpackwhich makes possible to replace modules in a bundled application while the application is running.A possible improvement after the
Betarelease is applying changes in styles instantly.The first step on this journey is to apply changes in application styles
app.(css|scss)at runtime.Current State
A change in application styles
app.(css|scss)triggers a navigation to the same page where the change is applied.Future State
A change in application styles
app.(css|scss)applies on the current page, avoiding its reloading/navigating to the same page and preserving the state of the page and navigation history.Related to #6398.