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 df8b800 commit 00f7685Copy full SHA for 00f7685
packages/plugin-rsc/examples/basic/src/framework/entry.browser.tsx
@@ -83,6 +83,11 @@ async function main() {
83
}
84
85
86
+function useSetupNavigation() {
87
+ React.useInsertionEffect
88
+ React.useReducer
89
+}
90
+
91
// a little helper to setup events interception for client side navigation
92
function listenNavigation(onNavigation: () => void) {
93
window.addEventListener('popstate', onNavigation)
0 commit comments