Set Initial Route using @solidjs/router
Hello,
I have a simple Router setup with 3 routes/tabs inside my Main component
I want to make sure that every time the page is reloaded users are navigated to /1.
Currently I just call navigate('/1') using the useNavigate from the Router package inside the Main component and just wanted to know if there is another/better way to do this.
I have a simple Router setup with 3 routes/tabs inside my Main component
I want to make sure that every time the page is reloaded users are navigated to /1.
Currently I just call navigate('/1') using the useNavigate from the Router package inside the Main component and just wanted to know if there is another/better way to do this.
