Skip to content

[wip] Expand ViewTransition callback props reference documentation#8306

Open
rickhanlonii wants to merge 6 commits intoreactjs:mainfrom
rickhanlonii:viewtransition-events-docs
Open

[wip] Expand ViewTransition callback props reference documentation#8306
rickhanlonii wants to merge 6 commits intoreactjs:mainfrom
rickhanlonii:viewtransition-events-docs

Conversation

@rickhanlonii
Copy link
Member

@rickhanlonii rickhanlonii commented Feb 14, 2026

Document the full callback signatures with ViewTransitionInstance
and types arguments, cleanup function return values, instance
properties (group, imagePair, old, new), and per-callback behavior.
…acks

Add "Animating imperatively with callbacks" usage section with Sandpack
example showing onEnter/onExit with instance.new.animate() and cleanup
functions. Includes addTransitionType integration example.
The dead link checker regex expects {/*id*/} format without spaces.
Prettier reformatted these to {/* id */} which broke anchor links.
@github-actions
Copy link

github-actions bot commented Feb 14, 2026

Size changes

Details

📦 Next.js Bundle Analysis for react-dev

This analysis was generated by the Next.js Bundle Analysis action. 🤖

This PR introduced no changes to the JavaScript bundle! 🙌

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants