website icon indicating copy to clipboard operation
website copied to clipboard

Part about 'popState' is outdated

Open Powersource opened this issue 6 years ago • 0 comments

The page on 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).

Powersource avatar Apr 16 '19 13:04 Powersource