Skip to content

Commit 7935175

Browse files
committed
Update 0 Overview.md
Branching on state instead of props.
1 parent 277ba50 commit 7935175

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/00 Guides/0 Overview.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ var App = React.createClass({
2626

2727
render () {
2828
var Child;
29-
switch (this.props.route) {
29+
switch (this.state.route) {
3030
case '/about': Child = About; break;
3131
case '/inbox': Child = Inbox; break;
3232
default: Child = Home;

0 commit comments

Comments
 (0)