Browse Source

Added a small TOC for examples

main
Brian Vaughn 7 years ago
parent
commit
e110ac5745
  1. 9
      content/blog/2018-03-15-update-on-async-rendering.md

9
content/blog/2018-03-15-update-on-async-rendering.md

@ -55,7 +55,14 @@ We'll look at examples of how both of these lifecycles can be used below.
>
> For brevity, the examples below are written using the experimental class properties transform, but the same migration strategies apply without it.
---
## Examples
- [Initializing state](#initializing-state)
- [Fetching external data](#fetching-external-data)
- [Adding event listeners (or subscriptions)](#adding-event-listeners-or-subscriptions)
- [Updating `state` based on props](#updating-state-based-on-props)
- [Invoking external callbacks](#invoking-external-callbacks)
- [Updating external data when props change](#updating-external-data-when-props-change)
- [Reading DOM properties before an update](#reading-dom-properties-before-an-update)
### Initializing state

Loading…
Cancel
Save