Skip to content
This repository was archived by the owner on Jun 6, 2022. It is now read-only.

Commit 313a748

Browse files
committed
README: mention "popstate" event
1 parent cb68126 commit 313a748

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,8 @@ descriptors — `Location` and `NotFound`.
4242
That way `App` will render a markup for a currently active location (via
4343
`window.location.pathname`).
4444

45+
It automatically handles `popstate` event and updates its state accordingly.
46+
4547
To navigate to a different location, component exposes `navigate(path)` method.
4648
You would want to keep a `ref` to the component to call it:
4749

0 commit comments

Comments
 (0)