useViewTransitionState
external fun useViewTransitionState(to: To, opts: UseViewTransitionStateOpts = definedExternally): Boolean(source)
Return a boolean indicating if there is an active view transition to the given href. You can use this value to render CSS classes or viewTransitionName styles onto your elements
Parameters
href
The destination href
opts.relative
Relative routing type ("route" | "path")