diff --git a/README.md b/README.md index 61de252..71ddefe 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ Short reference of React.Component lifecycle methods so I don't have to scroll t #### constructor () -``` +```js /** * Create state and call super * @@ -24,7 +24,7 @@ constructor (props) { #### static getDerivedStateFromProps () -``` +```js /** * Props have changed, return the updated state *