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
This isn't the API. redirect works within cache and action functions which are wrappers around Solid Router's data APIs. If you want to navigate inside the load function useNavigate.
It would be interesting to try to marry these together I suppose. load could have additional logic in it. But generally it isn't the load function doing the redirect as much as where the data is being used on the page.
Duplicates
Latest version
Current behavior 馃槸
the load method doesnt redirect to the thrown page
https://stackblitz.com/~/github.com/0-don/solid-project?file=src/routes/index.tsx
Expected behavior 馃
No response
Steps to reproduce 馃暪
No response
Context 馃敠
No response
Your environment 馃寧
No response
The text was updated successfully, but these errors were encountered: