Skip to content
This repository was archived by the owner on Apr 24, 2023. It is now read-only.

Conversation

@Mosoc
Copy link

@Mosoc Mosoc commented Apr 15, 2019

The life cycle method named componentWillUnmount is not need UNSAFE_ prefix.
The method which has been considered legacy is UNSAFE_componentWillMount(), actually.

Ref:
https://reactjs.org/docs/react-component.html#componentwillunmount
https://reactjs.org/docs/react-component.html#unsafe_componentwillmount

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant