Skip to content

Guides - Hot Module Replacement #1463

Closed
@maheshpec

Description

@maheshpec

Hello,

While going through the hot module replacement guide, I noticed a snippet line did not have + sign indicating that its a new statement.

What is the current behavior?
HMR guide page's Gotcha section has a code snippet. This code snippet introduces a let element = component(); statement. Its not present in the Enabling HMR section. However, it does not have a + sign to indicate that its a new statement.

What is the expected behavior?
The let element = component(); statement should be treated as a new statement by having a + in front of it and highlighting it in green.

Thank you

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions