Skip to content

[Typo]: Missing underscore in unstable_ViewTransition import #7774

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
jdharrisnz opened this issue Apr 24, 2025 · 1 comment
Open

[Typo]: Missing underscore in unstable_ViewTransition import #7774

jdharrisnz opened this issue Apr 24, 2025 · 1 comment

Comments

@jdharrisnz
Copy link

Summary

The unstable_ViewTransition import is missing an underscore in the first code block on the ViewTransition page.

Page

https://react.dev/reference/react/ViewTransition

Details

It should be

import { unstable_ViewTransition as ViewTransition } from 'react';

instead of

import { unstableViewTransition as ViewTransition } from 'react';
@nickwlker
Copy link
Contributor

I addressed it in this PR

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

No branches or pull requests

2 participants