React lifecycle methods

React lifecycle methods
0

#1

According to react documentation, the React life cycle method componentWillMount is being deprecated. It encourages unsafe practices with the introduction of async rendering. It is now being changed to UNSAFE_componentWillMount and is generally discouraged. I don’t know anything about making actual contributions, but I wonder if this issue should be addressed in the react curriculum?


#2

@qtheginger, we discussed this here back in August:

Deprecated methods in React

I agree with you.


#3

Ok, for some reason I didn’t find it when I searched.