[guide] [react] add note about deprecated lifecycles
There were still deprecated lifecycle being mentioned in two places. Thus by removing them, it will make clear sense of latest React API after 16.2.
These are not actually "deprecated" in the sense that they'll only be "unsafe with async rendering".
This makes sense. But can we like address developer that this lifecycles are now no more in use like by adding a label in parenthesis or making seperate section for it ?
I think a section for it that calls out that only in React 16.3+, certain methods should be avoided in favor of others, would be useful, yes.
Okay. So should I make changes now in readme file acc. to it?
Updating this PR to do that would be great!
Sure. So should I finally add a section about avoiding lifecycles?
Not avoiding; but using the ones appropriate for your React version. Not everyone is on the latest version.
There were still deprecated lifecycle being mentioned in two places. so by removing them, it will make clear sense of latest React API after 16.2.