Replies: 1 comment
-
I guess I have to somehow save it in localStorage by the address bar key or maybe there is another way to solve this problem |
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
-
hello everyone!
I have an endpoint:
/project/$projectID/edit/$stepID
I have a store for a specific project. Where I store what stage the user is in
useProjectStore has a generic state with no binding to
url
so if I change the
projectID
inurl
I will get the selected step from another projectis there any way to cache the url and get the current state from the address cache?
It looks very much like this could be solved through middleware, but I haven't found anyone doing something similar.
Beta Was this translation helpful? Give feedback.
All reactions