We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 94e9de5 commit afb97c8Copy full SHA for afb97c8
.prettierrc
@@ -0,0 +1,4 @@
1
+{
2
+ "proseWrap": "never",
3
+ "trailingComma": "all"
4
+}
src/js/src/index.js
@@ -13,7 +13,8 @@ export function bind(node) {
13
}
14
15
export function History({ onChange }) {
16
- // Capture changes to the browser's history
+ // Capture browser "history go back" action and tell the server about it
17
+ // Note: Browsers do not allow you to detect "history go forward" actions.
18
React.useEffect(() => {
19
const listener = () => {
20
onChange({
0 commit comments