Adam
74b35398c2
Remove ref usage in main markdown example ( #9160 )
...
from [elsewhere in the docs](https://facebook.github.io/react/docs/refs-and-the-dom.html ):
> Avoid using refs for anything that can be done declaratively.
2017-03-12 15:29:10 +00:00
Dan Abramov
55f37b4576
Update the homepage with ES6 ( #7868 )
...
* Update the homepage with ES6
* Avoid array spread and stale state
2016-10-04 19:33:09 +01:00
Ben Alpert
2719c2e795
Use remarkable instead of marked ( #6961 )
...
https://github.com/reactjs/react-tutorial/issues/139
2016-06-03 14:41:38 -07:00
Jim
33cd980f0e
React -> ReactDOM for render() and findDOMNode()
2015-10-05 17:46:58 -07:00
Bradley Spaulding
e38c477147
Extracted "safe taint" in docs/homepage to align with best practice #4212
2015-09-21 22:24:51 -07:00
Ben Alpert
fdd13d86f2
[docs] Use marked instead of Showdown and escape HTML
...
Fixes #3501 .
2015-04-13 15:50:40 -07:00
Cheng Lou
6f25cb7b3e
Remove some getDOMNode from docs and examples
2015-04-02 17:23:27 -04: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
Paul O’Shannessy
c3b5e071e5
Merge branch 'chenglou-master'
...
Conflicts:
docs/_js/examples/markdown.js
2013-07-17 13:30:22 -07:00
Cheng Lou
084e726d3c
jsx
2013-07-17 16:25:25 -04:00
Cheng Lou
d0b7884924
textarea format
2013-07-17 16:22:30 -04:00
Paul O’Shannessy
459daa63da
Remove React.autoBind from examples
2013-07-16 23:44:09 -07:00
Ben Alpert
ccba6965b6
Update examples to use onInput instead of onKeyUp
...
onInput has the advantage that it responds to repeated key events before
onKeyUp and is called when modifying the input without the keyboard
(such as pasting with the mouse).
Test Plan:
Opened the ballmer-peak example and docs homepage in Chrome and checked
that both examples update whenever the text is changed.
2013-05-30 18:20:34 -07:00
Paul O’Shannessy
eb278167cd
Initial public release
2013-05-29 12:54:02 -07:00