Skip to content

changing to getDerivedStateFromProps#25

Open
shadigaafar wants to merge 1 commit into
ameyms:masterfrom
shadigaafar:patch-1
Open

changing to getDerivedStateFromProps#25
shadigaafar wants to merge 1 commit into
ameyms:masterfrom
shadigaafar:patch-1

Conversation

@shadigaafar

Copy link
Copy Markdown

componentWillReceiveProps has been renamed, it causes a warning that we should rename it to UNSAFE_componentWillReceiveProps or use getDerivedStateFromProps instead... more here:
https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html

componentWillReceiveProps  has been renamed, it causes a warning that we should rename it to UNSAFE_componentWillReceiveProps  or use getDerivedStateFromProps instead... more here: 
https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html
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.

2 participants