React-router set index route as active v6
Advertisements I am trying to create a route with child routes. When I navigate to "/" (no route) it should land on /weather (aka Home) and that works with Navigate. Then the index child route shows correctly. But the Navlink do not get "active" in Weather.tsx. And when I click "weather-forecast"-link it gets higlighted obviosly… Read More React-router set index route as active v6