From e110ac5745dc00f84850e8dc1714bb359dc0a4c5 Mon Sep 17 00:00:00 2001 From: Brian Vaughn Date: Sat, 24 Mar 2018 16:01:44 -0700 Subject: [PATCH] Added a small TOC for examples --- content/blog/2018-03-15-update-on-async-rendering.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/content/blog/2018-03-15-update-on-async-rendering.md b/content/blog/2018-03-15-update-on-async-rendering.md index 83db28b7..18e3a633 100644 --- a/content/blog/2018-03-15-update-on-async-rendering.md +++ b/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