In the Immersive Web version we have a useEnabledAnimation hook. These will wait for some certain value to be set to true before calling the animation setups. Ideally I think we just want to have this option with the useAnimation hooks in some ways as well. This would make it easier to delay animations while waiting for content to be loaded or something like that.
I'm not sure what would be the nicest way to implement this, perhaps something together with a TransitionPresence which is "active" by default, but you could also set it to inactive or something?
In the Immersive Web version we have a
useEnabledAnimation
hook. These will wait for some certain value to be set to true before calling the animation setups. Ideally I think we just want to have this option with theuseAnimation
hooks in some ways as well. This would make it easier to delay animations while waiting for content to be loaded or something like that.I'm not sure what would be the nicest way to implement this, perhaps something together with a TransitionPresence which is "active" by default, but you could also set it to inactive or something?