Add language tags
This commit is contained in:
parent
ac10319fd5
commit
df351f55cc
@ -8,7 +8,7 @@ Short reference of React.Component lifecycle methods so I don't have to scroll t
|
|||||||
|
|
||||||
#### constructor ()
|
#### constructor ()
|
||||||
|
|
||||||
```
|
```js
|
||||||
/**
|
/**
|
||||||
* Create state and call super
|
* Create state and call super
|
||||||
*
|
*
|
||||||
@ -24,7 +24,7 @@ constructor (props) {
|
|||||||
|
|
||||||
#### static getDerivedStateFromProps ()
|
#### static getDerivedStateFromProps ()
|
||||||
|
|
||||||
```
|
```js
|
||||||
/**
|
/**
|
||||||
* Props have changed, return the updated state
|
* Props have changed, return the updated state
|
||||||
*
|
*
|
||||||
|
Loading…
Reference in New Issue
Block a user