Skip to content

Route query params change does not trigger remount #1757

Closed as not planned
Closed as not planned
@uNmAnNeR

Description

@uNmAnNeR

Hello!

When hash with query params change oninit method is not called and page remains old despite view updates. Only page refresh helps. I suppose, when route change whole component should be recreated like default browser behavior, not just view.

See example here: https://jsfiddle.net/a7uy9L5z/2/

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area: DocumentationFor anything dealing mainly with the documentation itselfType: QuestionFor issues that are purely questions about Mithril, not necessarily bug reports or suggestions

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions