Update index.md (#19715)

pull/19729/head
The Coding Aviator 2018-10-18 15:48:05 +05:30 committed by Aditya
parent a0df3b05d2
commit 4a6d1b49ff
1 changed files with 2 additions and 0 deletions

View File

@ -23,3 +23,5 @@ componentWillMount() {
console.log('Component being mounted');
}
```
##### Note: The ``` componentWillMount ``` Lifecycle method has been deprecated as of version 17, and does not work on later versions. [(Source)](https://reactjs.org/docs/react-component.html)