From 2dc6051357255a8be60d8016416b6b663862fdb2 Mon Sep 17 00:00:00 2001 From: Vasilis Chatzipanagiotis Date: Wed, 20 Jul 2016 21:07:52 +0200 Subject: [PATCH] Lifecycle events order correction Shouldn't in paradigm 1, first occur "componentDidMount" in the App component and then in the Home component? --- docs/guides/ComponentLifecycle.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/guides/ComponentLifecycle.md b/docs/guides/ComponentLifecycle.md index 636cf3e0ef..e5aa01dba6 100644 --- a/docs/guides/ComponentLifecycle.md +++ b/docs/guides/ComponentLifecycle.md @@ -24,8 +24,8 @@ Consider this route config: | Component | Lifecycle Hooks called | |-----------|------------------------| - | App | (2) `componentDidMount` | - | Home | (1) `componentDidMount` | + | App | (1) `componentDidMount` | + | Home | (2) `componentDidMount` | | Invoice | N/A | | Account | N/A |