Can't set Hash URL to RemixStub InitialEntry (on window object) #8467
Unanswered
theocerutti
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I would like to use createRemixStub and set a hash url to the initial entry:
But then when I try to
console.log(window.location.hash)
inMyComponent
it returns undefined...Why ? Is this a bug?
Thanks
EDIT: it seems that the hash url is set when I use
useLocation
, but not on the window object..Beta Was this translation helpful? Give feedback.
All reactions