Jim
712199ef98
React -> ReactDOM for render() and findDOMNode()
2015-10-05 17:46:58 -07:00
Vipul A M
1d4371a1d2
[docs] Replace JSXTransformer with babel/browser
...
Closes #4131
2015-09-25 20:13:19 -07:00
Chris Ha
c085c85045
Switch to using comma-dangle: always-multiline
2015-07-16 23:40:16 -07:00
Cheng Lou
5561d0e925
Remove some getDOMNode from docs and examples
2015-04-02 17:23:27 -04:00
Paul O’Shannessy
b2161bd51d
[docs] show line numbers in online jsx compiler
2015-03-01 11:53:06 -08:00
Paul O’Shannessy
f53854bd93
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
1b3b432d64
[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
Daniel Lo Nigro
e11b4078bc
Small tweaks to HTML to JSX page:
...
- Remove "Compiled JS" tab since it doesn't make sense
- Relabelled editor to "Live HTML Editor" rather than "Live JSX Editor"
2014-08-31 21:48:10 -07:00
Ben Alpert
ba67bf1b0d
Add --harmony option to live JSX compiler page
2014-06-28 17:29:30 -07:00
Cheng Lou
0f4cc6ee84
[Docs] Hide compiled js tab in jsx-compiler.html
...
Fixes #1049
2014-02-10 23:22:59 -08:00
Ben Alpert
a2e805b26e
Disable CodeMirror smart indentation
...
Fixes #966 .
2014-01-31 22:10:37 -08:00
Ben Alpert
ea711f1d62
Simplify live editor execution logic
2014-01-17 17:42:53 -08:00
Ben Alpert
4440486a24
Properly clear live editor on JSX compile failure
2014-01-17 17:42:40 -08:00
Cheng Lou
71b585325c
docs add jsx->js tab to live editors
2014-01-17 15:49:59 -08:00
Cheng Lou
f0b5219df9
docs better error display for live editor and JSX compiler
2014-01-01 19:41:08 -05:00
Ben Alpert
b2e51c6e01
Upgrade codemirror and enable line wrapping
...
Fixes #678 .
2013-12-30 18:06:00 -07:00
jhiswin
e2ebbeac07
live_editor.js using deprecated function
...
unmountAndReleaseReactRootNode -> unmountComponentAtNode
breaks html-jsx.html
2013-12-29 09:42:35 -05:00
Vjeux
6bd9f35bf3
Fix html-jsx compiler
...
It changed React Playground to add a required props but unfortunately didn't update the call sites of the front-page. I don't think it should be required so I'm just making it optional and providing the correct default value.
Test Plan:
- Open the front page and make sure examples are working
- Open /react/jsx-compiler.html and make sure it is working
- Open /react/html-jsx.html and make sure it is working
2013-12-23 18:24:22 +01:00
Daniel Lo Nigro
eab1f4d366
Simple HTML to JSX converter, built during Hackathon 40 at Facebook.
...
See /react/html-jsx.html. Not directly linked from the site yet as there may still be some minor issues with it.
2013-12-21 17:44:38 -08:00
Cheng Lou
92ea31c7b7
make docs jsx compiler highlight transpiled js code
2013-11-25 19:04:28 -05:00
Paul O’Shannessy
b46b6a8db9
Fix live editor examples on home page.
...
Remember that one time I wrote release notes and said:
> This is a breaking change - if you were using class, you must change
> this to className or your components will be visually broken.
Good thing I didn't listen to myself!
2013-10-16 17:56:51 -07:00
Ben Alpert
e379f8ec03
Fix all errors and warnings on homepage
...
Also onChange instead of onInput in two places!
2013-07-17 13:31:52 -07:00
Jeffrey Lin
a78f752143
Fix live_editor.js usage of class=
2013-05-31 20:50:21 -07:00
yungsters
855c82e224
Revise 'live_editor.js' using JSX.
2013-05-30 11:31:21 -07:00
yungsters
955b472f8b
Add a JSX Compiler tool.
2013-05-30 11:26:36 -07:00
petehunt
e20747ef9b
Fix live editor on mobile devices
2013-05-29 13:24:51 -07:00
Paul O’Shannessy
75897c2dcd
Initial public release
2013-05-29 12:54:02 -07:00