Skip to content

Fix for defaultProps warning in new versions of React - #158

Open
bordot wants to merge 2 commits into
HosseinShabani:masterfrom
bordot:master
Open

bordot wants to merge 2 commits into
HosseinShabani:masterfrom
bordot:master

Conversation

@bordot

@bordot bordot commented Oct 18, 2024

Copy link
Copy Markdown

Attempts to solve the warning "Support for defaultProps will be removed from function components in a future major release. Use JavaScript default parameters instead." when using more recent versions of React (or with Expo SDK 51).

@isaiasvr25

Copy link
Copy Markdown

So, if I have this warning, should I ignore it?

@davidabou

Copy link
Copy Markdown

@bordot

This branch has not been deployed

No deployments
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