From 5bb84fef07f25f50ebd3fe2bac45bb39f8c8175c Mon Sep 17 00:00:00 2001 From: Daniel Goldshlack Date: Wed, 27 May 2015 14:23:11 -0400 Subject: [PATCH] Update react.md For react, you can't use class= when compiling your divs - this should probably be className=. Awesome cheatsheet! --- react.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/react.md b/react.md index 060d2bfce..5d2ebdac9 100644 --- a/react.md +++ b/react.md @@ -63,7 +63,7 @@ Use [states](https://facebook.github.io/react/docs/tutorial.html#reactive-state) ```js render: function () { - return
+ return
Welcome, {this.state.username}
; }