useNavigate - navigate(path) throws "computations created outside a `createRoot`" and error
Sometimes (not 100% of the time) when a user selects a new category in the UI, the following code sends
I have check thoroughly, all the
If I replace the
computations created outside aand thencreateRootorrenderwill never be disposed
Uncaught (in promise) TypeError: Cannot read properties of null (reading '2')
I have check thoroughly, all the
createMemo and creatEffect are properly in Components and not in any async handlers or the like.If I replace the
navigate with window.location.replace everything works fine, but of course, then my site reloads fresh every time too:
