Skip to content

Commit ba699dd

Browse files
committed
Cleanup: fix React formatting
1 parent aff701a commit ba699dd

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

react.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -281,6 +281,7 @@ Lifecycle
281281
{: .-two-column}
282282

283283
### Mounting
284+
284285
| Method | Description |
285286
| ------------------------ | ---------------------------------------------------------------------------------------------------- |
286287
| `constructor` _(props)_ | Before rendering [#](https://reactjs.org/docs/react-component.html#constructor) |
@@ -296,6 +297,7 @@ Set initial the state on `constructor()`.
296297
Add DOM event handlers, timers (etc) on `componentDidMount()`, then remove them on `componentWillUnmount()`.
297298

298299
### Updating
300+
299301
| Method | Description |
300302
| ------------------------------------------------------- | ---------------------------------------------------- |
301303
| `componentDidUpdate` _(prevProps, prevState, snapshot)_ | Use `setState()` here, but remember to compare props |

0 commit comments

Comments
 (0)