Skip to content

Commit 5007121

Browse files
Docs: Update usage page to reference webpack
1 parent d392735 commit 5007121

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

site/jekyll/getting-started/usage.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff 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+
1717
Hit a JSX file in your browser (eg. `/Scripts/HelloWorld.jsx`) and observe
1818
the magnificence of JSX being compiled into JavaScript with no precompilation
1919
necessary.
2020

21-
Next Steps
22-
-----------
21+
## Next Steps
22+
2323
On-the-fly JSX compilation is good for fast iteration during development, but
2424
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).

0 commit comments

Comments
 (0)