Awesome concept!
Daniel Rotter
1

Sorry for the disappointing answer after waiting for long, but, thought a little about, and I think that is what I would go for too, setting a flag to indicate that a redirect is happening, I don’t see any direct problems if you can synchronously determine that a redirect needs to happen. If it can only be determined async (e.g. a product from a catalog needs to be fetched version, only then to discover that it should redirect to a replacement product), it might be tricker, as you need to make sure the flag get’s reset if the users trigger an other route in the meantime, and future flag updates from the same routing events are ignored. But that is doable as well, by for example capturing in an object what you are currently routing for (I hope that doesn’t sound too vague, if so, I’ll try to elaborate)