noxy
noxy
SSolidJS
Created by noxy on 2/21/2025 in #support
navigate - Wait for navigation to finish
Okay, I think I've found solution. useNavigate navigates within SolidJS app so I use window.location.replace now which seems to do the trick.
4 replies
SSolidJS
Created by noxy on 2/21/2025 in #support
navigate - Wait for navigation to finish
Oh, I think if I move context to another file it will be fine 😆
4 replies
SSolidJS
Created by noxy on 2/21/2025 in #support
navigate - Wait for navigation to finish
Hmm, I think that it might not be such a good idea to do this after all. It seems like Context is resetting on every edit (HMR?) and useUser redirects me to login even if I was alreayd logged in.
4 replies