Skip to content

Commit 98b1ca7

Browse files
committed
Merge pull request #2322 from vitalybe/patch-1
Added disable instructions regarding "?_k" bit
2 parents eb35087 + a476ec4 commit 98b1ca7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/guides/basics/Histories.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@ When a history transitions around your app with `pushState` or `replaceState`, i
3333

3434
The DOM API that hash history uses to transition around is simply `window.location.hash = newHash`, with no place to store location state. But, we want all histories to be able to use location state, so we shim it by creating a unique key for each location and then store that state in session storage. When the visitor clicks "back" and "forward" we now have a mechanism to restore the location state.
3535

36+
You can disable that feature by following the instructions [here](http://rackt.org/history/stable/HashHistoryCaveats.html).
37+
3638
### `createBrowserHistory`
3739
Browser history is the recommended history for browser application with React Router. It uses the [History](https://developer.mozilla.org/en-US/docs/Web/API/History) API built into the browser to manipulate the URL, creating real URLs that look like `example.com/some/path`.
3840

0 commit comments

Comments
 (0)