Bravi
How to handle reactivity in this example?
I think I figured it out. I think the problem is that since SortableJS changes the order,
For
is unable to track these changes properly. I came across this:
https://gist.github.com/Legend-Master/527e0afcf9ce4621361bc00a994c50f5
and I've updated my code accordingly and it seems to work so far3 replies
ProtectedRoute with a redirect using @solidjs/router
Hey @._rb , thanks for your reply. Unfortunately this approach doesn't work, because even if I land on a different route (not the protected one), both the
onMount
inside a protected route and <Navigate />
are executed and therefore I'm redirected to /login
4 replies