choojs / choojs/website

Part about 'popState' is outdated

Open
#75 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
46
Forks
25
PR merge metrics
No merged PRs in 30d

Description

[The page on routing](https://choo.io/docs/routing/) incorrectly says that calling `emit('popState')` will make the browser go back in history. As explained in this PR https://github.com/choojs/choo/issues/621, you should use `history.go(-1)` instead (since emitting popState does nothing).

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.