Skip to content

Changed componentWillReceiveProps to UNSAFE_componentWillReceiveProps#75

Open
MushfiqMashuk wants to merge 1 commit inton49:masterfrom
MushfiqMashuk:master
Open

Changed componentWillReceiveProps to UNSAFE_componentWillReceiveProps#75
MushfiqMashuk wants to merge 1 commit inton49:masterfrom
MushfiqMashuk:master

Conversation

@MushfiqMashuk
Copy link

componentWillReceiveProps has been renamed and is not recommended for use.
Renamed componentWillReceiveProps to UNSAFE_componentWillReceiveProps to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work.

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