Skip to content

Part about 'popState' is outdated #75

@Powersource

Description

@Powersource

The page on routing incorrectly says that calling emit('popState') will make the browser go back in history. As explained in this PR choojs/choo#621, you should use history.go(-1) instead (since emitting popState does nothing).

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