How do i write routes which update automatically based on if authenticated or not
Lets say that I have the below code and when i hit root path(
I am a noob in Solidjs. Have been learning it from yesterday only. So any pointers or additional info would help me
App.jsx
/) i want to navigate to /login if I am not authenticated and /orders if I am authenticated. I tried using <Show> and it was not helping me out. I checked if the <Router>navigate("/orders") is changing the url to /orders but the page doesn't load the respective component I am a noob in Solidjs. Have been learning it from yesterday only. So any pointers or additional info would help me
App.jsx
