Skip to content

React 19: replace defaultProps with es6 defaults#158

Open
jackw wants to merge 2 commits intotheKashey:masterfrom
jackw:jackw/defaultprops-es6-defaults
Open

React 19: replace defaultProps with es6 defaults#158
jackw wants to merge 2 commits intotheKashey:masterfrom
jackw:jackw/defaultprops-es6-defaults

Conversation

@jackw
Copy link
Copy Markdown

@jackw jackw commented Apr 27, 2026

This package has React 19 support via peerDeps but the code uses defaultProps which are removed in React 19.

This PR updates usage of defaultProps with with es6 defaults so the defaults apply at runtime for React 19.

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.

1 participant