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: Upgrade to React v19.0.0 #228

Open
wants to merge 13 commits into
base: main
Choose a base branch
from
Open

Conversation

paanSinghCoder
Copy link
Contributor

@paanSinghCoder paanSinghCoder commented Jan 14, 2025

Changes:

  1. Update dependencies and peer dependencies to React v19.0.0.
  2. Remove elementRef (deprecated) and use componentRef.
  3. Remove forwardRef (deprecated). React v19 now supports passing ref directly as a prop thus forwardRef exclusively is not needed.
  4. defaultProps is no more supported as ES6 default values is a better option.
  5. Formatted code.
  6. Minor fixes.

Note: Old components are untouched.

Copy link

vercel bot commented Jan 14, 2025

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

Name Status Preview Comments Updated (UTC)
apsara ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 16, 2025 1:23pm

@paanSinghCoder paanSinghCoder changed the title chore: update package.json chore: Upgrade to React v19.0.0 Jan 14, 2025
@paanSinghCoder paanSinghCoder marked this pull request as ready for review January 16, 2025 05:37
@paanSinghCoder paanSinghCoder changed the title chore: Upgrade to React v19.0.0 feat: Upgrade to React v19.0.0 Jan 16, 2025
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