T
TanStack•7mo ago
absent-sapphire

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
correct-apricot•7mo ago
cc @zander
absent-sapphire
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-sapphire
absent-sapphireOP•7mo ago
Found this and at 8:30 it talks about view transitions for Tanstack Router specifically
adverse-sapphire
adverse-sapphire•7mo ago
I am working on a full example that will be added to the docs
adverse-sapphire
adverse-sapphire•7mo ago
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-sapphire
absent-sapphireOP•6mo ago
Awesome šŸ’Ŗ

Did you find this page helpful?