Skip to content

Removed Default Props for Newer React#157

Open
lvlupharshit wants to merge 1 commit into
HosseinShabani:masterfrom
lvlupharshit:improve-default-props-react
Open

Removed Default Props for Newer React#157
lvlupharshit wants to merge 1 commit into
HosseinShabani:masterfrom
lvlupharshit:improve-default-props-react

Conversation

@lvlupharshit
Copy link
Copy Markdown

I was getting this error in my React Native project --

ERROR Warning: Header: Support for defaultProps will be removed from function components in a future major release. Use JavaScript default parameters instead.

in Header (created by Calendar)
in RCTView (created by View)
in View (created by Calendar)
in Calendar (created by DatePicker)

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