diff --git a/react-15/application.jsx b/react-15/application.jsx index 682a013..644d741 100644 --- a/react-15/application.jsx +++ b/react-15/application.jsx @@ -29,7 +29,7 @@ const Root = createClass({ } }, - changeName({target: {value: name}}) { + changeName(name) { this.setState({ name }) @@ -40,7 +40,15 @@ const Root = createClass({ return
This is a React 15 Microapp.
-Tell me your name and I'll remember it between Microapps:
Tell me your name and I'll remember it between Microapps:
+