File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed
site/jekyll/getting-started Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -7,20 +7,20 @@ Once installed, create your React components as usual.
77
88``` javascript
99// /Scripts/HelloWorld.jsx
10- const HelloWorld = ( props ) => {
11- return ( < div> Hello {props .name }< / div> ) ;
10+ const HelloWorld = props => {
11+ return < div> Hello {props .name }< / div> ;
1212};
1313```
1414
15- On-the-fly JSX to JavaScript Compilation
16- ----------------------------------------
15+ ## On-the-fly JSX to JavaScript Compilation
16+
1717Hit a JSX file in your browser (eg. ` /Scripts/HelloWorld.jsx ` ) and observe
1818the magnificence of JSX being compiled into JavaScript with no precompilation
1919necessary.
2020
21- Next Steps
22- -----------
21+ ## Next Steps
22+
2323On-the-fly JSX compilation is good for fast iteration during development, but
2424for production you will want to precompile for best performance. This can be
25- done via [ ASP.NET Bundling and Minification] ( /guides /weboptimizer.html ) or
26- [ Cassette] ( /guides /cassette.html ) .
25+ done via [ Webpack ] ( /bundling/webpack.html ) (recommended), [ ASP.NET Bundling and Minification] ( /bundling /weboptimizer.html ) or
26+ [ Cassette] ( /bundling /cassette.html ) .
You can’t perform that action at this time.
0 commit comments