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.
7
7
8
8
``` javascript
9
9
// /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> ;
12
12
};
13
13
```
14
14
15
- On-the-fly JSX to JavaScript Compilation
16
- ----------------------------------------
15
+ ## On-the-fly JSX to JavaScript Compilation
16
+
17
17
Hit a JSX file in your browser (eg. ` /Scripts/HelloWorld.jsx ` ) and observe
18
18
the magnificence of JSX being compiled into JavaScript with no precompilation
19
19
necessary.
20
20
21
- Next Steps
22
- -----------
21
+ ## Next Steps
22
+
23
23
On-the-fly JSX compilation is good for fast iteration during development, but
24
24
for 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