Replies: 1 comment
-
It sounds like your understanding is correct. The state should be set by a navigation such as a Link or Navigate component or with the imperative navigation API and then read from |
Beta Was this translation helpful? Give feedback.
0 replies
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.
-
How is
solid-app-router
'sstate
property supposed to work? I'm using theNavigate
component with a simple object forstate
which contains the pathname before the redirect (to/login
). Then on the/login
route I thought I could just grab that usinguseLocation
'slocation.state
. But this isnull
. What am I missing?Also, I understand if this is supposed to be over at
solid-app-router
's repo, but I though maybe because I'm usingsolid-start
anyway it could very well be a problem here. Anyway if you think this should be asked atsolid-app-router
instead, please let me know (or just transfer the discussion?).Thanks
Beta Was this translation helpful? Give feedback.
All reactions