Skip to content

Enhance hot-reload #1947

@Hazlank

Description

@Hazlank

what is the problem

If i modify some text, it will rerender, but when i add new Html Elements in <template> and store the file,it will call reload to create new Instance and lose state,Why not rerender

Then I test react, react hot reload from "react-refresh", i test adding some sideEffect code or add new elements, react components will keep state unless add some hooks code

vue hot reload

vue

react hot reload

react

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions