SolidJSS
SolidJS12mo ago
7 replies
Amir Hossein Hashemi

Using useNavigate within client-only action/query

The docs says:

If you are inside of a cache or action function you will instead [of useNavigate] want to use redirect or reload.

Does that include query/actions that only run on the client (don't use "use server")?
Was this page helpful?