From 97d64e69e114175abbfae063f6a8e735fbff9dd4 Mon Sep 17 00:00:00 2001 From: Jamund Ferguson Date: Fri, 18 Sep 2015 12:55:48 -0700 Subject: [PATCH] Update Introduction.md Pretty sure you can't have a `const` without defining the value immediately. --- docs/Introduction.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/Introduction.md b/docs/Introduction.md index 90a30a5b30..2e501d99c7 100644 --- a/docs/Introduction.md +++ b/docs/Introduction.md @@ -29,7 +29,7 @@ const App = React.createClass({ }, render() { - const Child + let Child switch (this.state.route) { case '/about': Child = About; break; case '/inbox': Child = Inbox; break;