I'm using flow-router (with blaze-layout) and have a couple of routes.
I'm using the isActiveRoute helper within a dynamically rendered navigation template.
Given
- I browse using the links in the nav
- One of the links is broken
- I enter a route (with helper to mark the nav link as active)
- I click on the broken link (see the not found page, which uses the same navigation template)
I expect that the previous helper return false, but it continues returning active
In the meantime, ActiveRoute.name() for the same route return false as it should
At this point, it takes a few back and forth clicking between other nav links for the helper to pick up.
I don't know if this is a flow-router issue, or with the helper. I'll also cross-post it over at the flow-router repo.
I'm using flow-router (with blaze-layout) and have a couple of routes.
I'm using the
isActiveRoutehelper within a dynamically rendered navigation template.Given
I expect that the previous helper return
false, but it continues returningactiveIn the meantime,
ActiveRoute.name()for the same route returnfalseas it shouldAt this point, it takes a few back and forth clicking between other nav links for the helper to pick up.
I don't know if this is a flow-router issue, or with the helper. I'll also cross-post it over at the flow-router repo.