From 18d32b67ab08425a4fe8ff74d35ea05ebe2f19e1 Mon Sep 17 00:00:00 2001 From: Cyril Auburtin Date: Tue, 3 Nov 2015 19:02:12 +0100 Subject: [PATCH] few errors thrown by react0.14 ref={i} for https://facebook.github.io/react/docs/multiple-components.html#dynamic-children --- README.md | 27 ++++++++++++++------------- 1 file changed, 14 insertions(+), 13 deletions(-) diff --git a/README.md b/README.md index 14f90ad..45f9a5e 100644 --- a/README.md +++ b/README.md @@ -386,8 +386,8 @@ var SortableList = React.createClass({ render: function() { return } @@ -409,17 +409,18 @@ var AllUsers = React.createClass({ }, getInitialState: function() { - return { users: ['Abbi', 'Adela', 'Bud', 'Cate', 'Davis', 'Eric']; }; + return { users: ['Abbi', 'Adela', 'Bud', 'Cate', 'Davis', 'Eric'] }; }, render: function() { - return ( -

Users

- + return (
+

Users

+ +
); } }); @@ -429,13 +430,13 @@ var ApprovedUsers = React.createClass({ sortableOptions: { group: "shared" }, getInitialState: function() { - return { items: ['Hal', 'Judy']; }; + return { items: ['Hal', 'Judy'] }; }, render: function() { return }