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 11abcbc commit 350493dCopy full SHA for 350493d
exercises/04.router/05.problem.cache/ui/index.js
@@ -61,6 +61,7 @@ function Root() {
61
62
// 🐨 change this to setContentKey(historyKey)
63
startTransition(() => setContentPromise(nextContentPromise))
64
+ // 🐨 otherwise, setContentKey(historyKey) directly (no transition needed)
65
}
66
window.addEventListener('popstate', handlePopState)
67
return () => window.removeEventListener('popstate', handlePopState)
0 commit comments