You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
best case scenario would be me to export the router from within src/client/index as result of the createBroserRouter function
yet not able to do so because id need to wait for the dom somehow to be ready.
ReferenceError: document is not defined
at getUrlBasedHistory
i tried exporting it within features/App and dynamically import it within client/index yet somehow get the same error after i resolve all the quirks. event wrapping components into a suspense and loading them lazily didnt help.
has someone managed to do this?
id like to navigate programmatically within the browser router, without relying on hooks
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
id like to ask the wizards.
best case scenario would be me to export the router from within
src/client/index
as result of thecreateBroserRouter
functionyet not able to do so because id need to wait for the dom somehow to be ready.
i tried exporting it within
features/App
and dynamically import it withinclient/index
yet somehow get the same error after i resolve all the quirks. event wrapping components into a suspense and loading them lazily didnt help.has someone managed to do this?
id like to navigate programmatically within the browser router, without relying on hooks
Beta Was this translation helpful? Give feedback.
All reactions