There could be a hook or a property in navigation state that would tell me if a transition is currently happening or not. This is trivial to figure out in a application with
transitionEnd
and
transitionStart
listeners but I'm developing a component library that is used by an application and in this library I might not be able to register these listeners soon enough to have reliable information about the transition's state