Skip to content

Commit 58554bd

Browse files
committed
Fix typo in counterfactual API discussion
1 parent 58cb705 commit 58554bd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ In addition to the current entry, the entire list of history entries can be insp
239239
240240
This solves the problem of allowing applications to reliably store state in a `NavigationHistoryEntry`'s state: because they can inspect the values stored in previous entries at any time, it can be used as real application state storage, without needing to keep a side table like one has to do when using `history.state`.
241241
242-
Note that we have a method, `navigation.entries()`, instead of a static array, `History.entries`, to emphasize that retrieving the entries gives you a snapshot at a given point in time. That is, the current set of history entries could change at any point due to manipulations of the history list, including by the user.
242+
Note that we have a method, `navigation.entries()`, instead of a static array, `navigation.entries`, to emphasize that retrieving the entries gives you a snapshot at a given point in time. That is, the current set of history entries could change at any point due to manipulations of the history list, including by the user.
243243
244244
In combination with the following section, the `entries()` API also allows applications to display a UI allowing navigation through the entry list.
245245

0 commit comments

Comments
 (0)