Skip to content
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

feat: Use React 19 refs #1069

Merged
merged 4 commits into from
Jan 2, 2025
Merged

feat: Use React 19 refs #1069

merged 4 commits into from
Jan 2, 2025

Conversation

veslav3
Copy link
Contributor

@veslav3 veslav3 commented Jan 2, 2025

This commit updates the code to use the simplified ref handling introduced in React 19.

  • Removed unnecessary forwardRef wrappers.
  • Passed refs directly as props to function components.

This change simplifies the code and improves readability while taking advantage of the latest React features.

      This commit updates the code to use the simplified ref handling introduced in React 19.

      - Removed unnecessary `forwardRef` wrappers.
      - Passed refs directly as props to function components.

      This change simplifies the code and improves readability while taking advantage of the latest React features.
Copy link

vercel bot commented Jan 2, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
rijkshuisstijl-community ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 2, 2025 3:53pm
rijkshuisstijl-community-templates ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 2, 2025 3:53pm
rvs-rivm-nl ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 2, 2025 3:53pm

Rerbun
Rerbun previously approved these changes Jan 2, 2025
JoeriRoijenga
JoeriRoijenga previously approved these changes Jan 2, 2025
@veslav3 veslav3 dismissed stale reviews from JoeriRoijenga and Rerbun via 018a80f January 2, 2025 13:30
@veslav3 veslav3 enabled auto-merge (squash) January 2, 2025 13:36
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.

3 participants