Is there documentation for view transitions in Tanstack Router?
I see there are some pages related to view transitions (e.g. https://tanstack.com/router/latest/docs/framework/react/api/router/ViewTransitionOptionsType#viewtransitionoptions-type) but there doesn't seem to be a main article about it.
Are view transitions ready to be used? If so, how?
Thanks
ViewTransitionOptions type | TanStack Router React Docs
The ViewTransitionOptions type is used to define a . tsx interface ViewTransitionOptions { types: Array
6 Replies
correct-apricotā¢7mo ago
cc @zander
absent-sapphireOPā¢7mo ago
Jack Herrington
YouTube
Reacts New ViewTransition Component Is A Little Flakey
Is React's new experimental View Transition hook good to go? Let's find out as we test it on Vite, NextS and TanStack Router.
Code: https://github.com/jherr/react-view-transition
š ProNextJS Course: https://pronextjs.dev
š Don't forget to subscribe to this channel for more updates: https://bit.ly/2E7drfJ
š Discord server signup: https://discor...
absent-sapphireOPā¢7mo ago
Found this and at 8:30 it talks about view transitions for Tanstack Router specifically
adverse-sapphireā¢7mo ago
I am working on a full example that will be added to the docs
adverse-sapphireā¢7mo ago
https://stackblitz.com/edit/tanstack-router-uthwqhlv?file=src%2Fstyles.css
there is a very basic example here
Alex D'Elia
StackBlitz
Router Basic File Based Example (forked) - StackBlitz
Run official live example code for Router Basic File Based, created by Tanstack on StackBlitz
absent-sapphireOPā¢6mo ago
Awesome šŖ