Merge remote-tracking branch 'origin/rewrite' into rewrite

This commit is contained in:
Leo Horie 2017-01-08 08:21:46 -05:00
commit f0d6b0d58b
13 changed files with 437 additions and 65 deletions

View file

@ -25,7 +25,7 @@ Note: This introduction assumes you have basic level of Javacript knowledge. If
The easiest way to try out Mithril is to include it from a CDN, and follow this tutorial. It'll cover the majority of the API surface (including routing and XHR) but it'll only take 10 minutes.
Let's create an HTML file to follow along:
Let's create an HTML file to follow along:
```markup
<body></body>
@ -91,7 +91,7 @@ m("main", [
])
```
Note: If you prefer `<html>` syntax, [it's possible to use it via a Babel plugin](https://babeljs.io/docs/plugins/transform-react-jsx/).
Note: If you prefer `<html>` syntax, [it's possible to use it via a Babel plugin](jsx.md).
```markup
// HTML syntax via Babel's JSX plugin
@ -236,8 +236,3 @@ Clicking the button should now update the count.
We covered how to create and update HTML, how to create components, routes for a Single Page Application, and interacted with a server via XHR.
This should be enough to get you started writing the frontend for a real application. Now that you are comfortable with the basics of the Mithril API, [be sure to check out the simple application tutorial](simple-application.md), which walks you through building a realistic application.