router
router copied to clipboard
Enable native View Transition API
Allow optional use of View Transition API for navigation transitions.
PR incoming.
Hey @claytongulick do you have an example on how to use view transition with your PR?
@alienself Sure, just set enableNativeViewTransitions to true and add some css:
::view-transition-old(root),
::view-transition-new(root) {
animation-duration: .35s;
}