Sriram Thiagarajan
c04a18a142
pre format only compile time errors ( #9538 )
* pre format only compile time errors
* Style tweak
8 years ago
Sriram Thiagarajan
4137f4fb78
fixed error formatting in live editor ( #9497 )
8 years ago
Samer Buna
cc35432e9b
Remove unnecessary findDOMNode calls ( #8198 )
8 years ago
Dan Abramov
55f37b4576
Update the homepage with ES6 ( #7868 )
* Update the homepage with ES6
* Avoid array spread and stale state
8 years ago
Keyan Zhang
27a059b045
switched to codemirror's jsx mode ( #6898 )
9 years ago
Jim
33cd980f0e
React -> ReactDOM for render() and findDOMNode()
9 years ago
Vipul A M
588ae639db
[docs] Replace JSXTransformer with babel/browser
Closes #4131
10 years ago
Chris Ha
e85c628c4b
Switch to using comma-dangle: always-multiline
10 years ago
Cheng Lou
6f25cb7b3e
Remove some `getDOMNode` from docs and examples
10 years ago
Paul O’Shannessy
4db91d74fe
[docs] show line numbers in online jsx compiler
10 years ago
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.
10 years ago
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
10 years ago
Daniel Lo Nigro
5a6eac6ba2
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"
11 years ago
Ben Alpert
1cd3c3e7e9
Add --harmony option to live JSX compiler page
11 years ago
Cheng Lou
8116e9cb38
[Docs] Hide compiled js tab in jsx-compiler.html
Fixes #1049
11 years ago
Ben Alpert
27087a5704
Disable CodeMirror smart indentation
Fixes #966 .
11 years ago
Ben Alpert
dd2dc27184
Simplify live editor execution logic
11 years ago
Ben Alpert
d4553afa1f
Properly clear live editor on JSX compile failure
11 years ago
Cheng Lou
353981f384
docs add jsx->js tab to live editors
11 years ago
Cheng Lou
c0a9df9e5b
docs better error display for live editor and JSX compiler
11 years ago
Ben Alpert
3e8520f9d8
Upgrade codemirror and enable line wrapping
Fixes #678 .
11 years ago
jhiswin
daaed17d12
live_editor.js using deprecated function
unmountAndReleaseReactRootNode -> unmountComponentAtNode
breaks html-jsx.html
11 years ago
Vjeux
70941c0354
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
11 years ago
Daniel Lo Nigro
03b64bef0c
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.
11 years ago
Cheng Lou
0e18bc2843
make docs jsx compiler highlight transpiled js code
11 years ago
Paul O’Shannessy
9c8084f396
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!
11 years ago
Ben Alpert
8b5822bdf8
Fix all errors and warnings on homepage
Also onChange instead of onInput in two places!
12 years ago
Jeffrey Lin
b72f012fb7
Fix live_editor.js usage of class=
12 years ago
yungsters
01e8f9dff1
Revise 'live_editor.js' using JSX.
12 years ago
yungsters
c63eddc525
Add a JSX Compiler tool.
12 years ago
petehunt
a17b1662b7
Fix live editor on mobile devices
12 years ago
Paul O’Shannessy
eb278167cd
Initial public release
12 years ago