Repository navigation
fix: migrate function component defaultProps for React 19 - #3767
Conversation
|
Important Review skippedToo many files! This PR contains 178 files, which is 78 over the limit of 100. To get a review, reduce the PR to 100 files or fewer by splitting it into smaller PRs or changing its base branch. Upgrade to a paid plan to raise the limit. This review couldn't start because sufficient usage credits or metered capacity aren't available. Add credits or update usage-based reviews in the billing tab, then retry.
|
🤖 Pull request artifacts
|
|
Size Change: -928 B (-0.04%) Total Size: 2.64 MB 📦 View Changed
ℹ️ View Unchanged
|
React 19 ignores defaultProps on function components. The new lint rule still allows them on class components.
|
Added a lint rule, CI now fails if a function component sets
|
fixes #3766