Skip to content

Update part5b.md forwardRef #4034

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

Closed
wants to merge 1 commit into from

Conversation

Badiealili
Copy link

Updated the code in the section "References to components with ref" section and added explanation relative to the deprecated function forwardRef (deprecated as of React 19) and the new way to access refs in react components as props.

Update the code in the section "References to components with ref" section and add explanation relative to the deprecated function forwardRef (deprecated as of React 19) and the new way to access refs in react components as props.
@vejol vejol added the part 5 label May 9, 2025
@vejol vejol added this to the Part 5 - yearly check 2025 milestone May 28, 2025
@vejol
Copy link
Contributor

vejol commented Aug 21, 2025

Thank you for the pull request! The material has now been updated to use React version 19 and forwardRef is no longer used. The examples have been updated to use the new syntax. I made the fixes in a separate commit, as changes were needed in many different places.

@vejol vejol closed this Aug 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants