Tay Yang Shun
e3e3717b22
[docs] Use id for TodoApp example
2015-11-22 11:54:39 +08:00
Jim
33cd980f0e
React -> ReactDOM for render() and findDOMNode()
2015-10-05 17:46:58 -07:00
PNikray
cfe4d1335e
Modified the todo example.
...
Instead of only using the index to supress the warning it now uses the
text + index to also ensure object iteration order.
2015-03-02 19:49:42 +01:00
PNikray
5725676aa7
Added the key attribute into the todo example
...
This is to solve the warning (that the key should be set) that was being raised when adding a new item.
2015-02-26 19:37:05 +01:00
Paul O’Shannessy
f9effa598f
Use --harmomy in docs examples for cleaner code
2014-10-28 11:06:30 -07:00
Paul O’Shannessy
12b9311066
React.renderComponent -> React.render
...
This covers most everything. The perf suite still needs work for the
Element updates. And the server rendering example needs to be done
wholesale.
2014-10-23 20:51:11 -07:00
Cheng Lou
33c7ee6112
[Docs] Remove most of @jsx
...
I kept some places intact (search for @jsx) because they require other bigger changes:
- ref-01-top-level-api.md
- grunt/tasks/npm.js
- old blog posts (don't change those)
- examples/ folder, as they have their own package.json that rely on old dependencies (node-jsx, reactify) that haven't upgraded to 0.12
2014-10-20 14:44:07 -04:00
Ben Alpert
8b5822bdf8
Fix all errors and warnings on homepage
...
Also onChange instead of onInput in two places!
2013-07-17 13:31:52 -07:00
Cheng Lou
bdd6911dff
todo fix
2013-07-17 16:28:04 -04:00
jordow
42ff8cf7dc
Make todo example shorter and not rely on the DOM.
2013-06-07 13:11:40 -07:00
David Hu
efce85fe3c
Consistently use autoBind on homepage examples
...
Except for todo.js, all the other examples on the homepage use React.autoBind
when defining event handler methods.
Test Plan: Added todo items successfully
2013-06-02 12:04:16 -07:00
Paul O’Shannessy
eb278167cd
Initial public release
2013-05-29 12:54:02 -07:00