Skip to content

[HMR] Apply changes in page styles at runtime #6953

Closed

Description

@vchimev

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 initial step on this journey to apply changes in application styles app.(css|scss) at runtime is released with version 5.2.
The next step would be to apply changes in page styles main-page.(css|scss) at runtime for all the flavours:

Is your feature request related to a problem? Please describe.

A change in page styles main-app.(css|scss) triggers a navigation to the same page where the change is applied.

Describe the solution you'd like

A change in page styles main-page.(css|scss) applies at runtime, thereby it avoids page reloading/navigation and preserves the application state and navigation history.

Related to #6398.


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

Activity

  1. self-assigned this
    on Feb 21, 2019
  2. added this to the 5.3 milestone on Feb 21, 2019
  3. removed their assignment
    on Jul 22, 2019
  4. CatchABus commented on Mar 31, 2026

    @CatchABus
    Contributor

    Closing this one as each flavor manages HMR in its own way.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions