Fix typos in the README (#629)

This commit is contained in:
Arve Knudsen
2018-02-15 12:02:21 +01:00
committed by Renée Kooi
parent 8937832d5f
commit a685d4ee36
+3 -4
View File
@@ -298,12 +298,12 @@ constructor. The event is not handled under the following conditions:
pages](https://mathiasbynens.github.io/rel-noopener/). pages](https://mathiasbynens.github.io/rel-noopener/).
### Navigating programmatically ### Navigating programmatically
To can navigate routes you can emit `'pushState'`, `'popState'` or To navigate routes you can emit `'pushState'`, `'popState'` or
`'replaceState'`. See [#events](#events) for more details about these events. `'replaceState'`. See [#events](#events) for more details about these events.
## Server Rendering ## Server Rendering
Choo was built with Node in mind. To render on the server call Choo was built with Node in mind. To render on the server call
`.toString(route, [state])` on your application. `.toString(route, [state])` on your `choo` instance.
```js ```js
var html = require('choo/html') var html = require('choo/html')
@@ -387,8 +387,7 @@ overhead during runtime, so for production environments we should unwrap this
using [yo-yoify][yo-yoify]. using [yo-yoify][yo-yoify].
Setting up browserify transforms can sometimes be a bit of hassle; to make this Setting up browserify transforms can sometimes be a bit of hassle; to make this
more convenient we recommend using [bankai][bankai] with `--optimize` to more convenient we recommend using [bankai build][bankai] to build your assets for production.
compile your assets for production.
## FAQ ## FAQ
### Why is it called Choo? ### Why is it called Choo?