8000 Update Fade.tsx - element.ref is now a regular prop by BOXNYC · Pull Request #6820 · react-bootstrap/react-bootstrap · GitHub
[go: up one dir, main page]

Skip to content

Update Fade.tsx - element.ref is now a regular prop #6820

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

Merged
merged 1 commit into from
Jul 23, 2024

Conversation

BOXNYC
Copy link
Contributor
@BOXNYC BOXNYC commented Jun 23, 2024

In React >= 19, accessing element.ref is no longer supported and ref has become a regular prop. It will be removed from the JSX Element type in a future release.

Replaced .ref with .props.ref for React version 19+.

In React >= 19, accessing element.ref is no longer supported and ref has become a regular prop. It will be removed from the JSX Element type in a future release.

Replaced .ref with .props.ref for React version 19+.
@kyletsang kyletsang merged commit 9b8bcd7 into react-bootstrap:master Jul 23, 2024
10 checks passed
@kyletsang
Copy link
Member

Thanks

@BOXNYC
Copy link
Contributor Author
BOXNYC commented Sep 26, 2024

Can you please push to npm? :)

@kyletsang
Copy link
Member

Hey sorry about that, this slipped my mind. It's published now: v2.10.5

@BOXNYC
Copy link
Contributor Author
BOXNYC commented Sep 26, 2024

No worries, thanks for maintaining this!!

@timtucker-dte timtucker-dte mentioned this pull request Nov 7, 2024
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0