ff-stream-web

git clone git://archive.git.mtrnord.blog/MTRNord/ff-stream-web.git
Log | Files | Refs | README | LICENSE

commit 81f49892970d91b10644b41cc5c0509b5d2b9cfc
parent 142113a963396053bf55ef310d0f8db13092aa87
Author: Konstantin Tarkus <hello@tarkus.me>
Date:   Mon, 15 Jun 2015 12:43:52 +0300

Update README.md

Diffstat:
MREADME.md | 1+
Mdocs/recipes/how-to-implement-routing.md | 2+-
2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/README.md b/README.md @@ -22,6 +22,7 @@ - [Which module bundler should I use?](https://github.com/kriasoft/react-starter-kit/issues/3) - [Which Flux implementation should I use?](https://github.com/kriasoft/react-starter-kit/issues/22) * **Recipes** + - [How to Implement Routing](./docs/recipes/how-to-implement-routing.md) - [How to Integrate Disqus](./docs/recipes/how-to-integrate-disqus.md) ### Directory Layout diff --git a/docs/recipes/how-to-implement-routing.md b/docs/recipes/how-to-implement-routing.md @@ -120,7 +120,7 @@ const router = new Router([{ const container = document.getElementById('app'); -async fimctopm () { +async function render() { try { const path = window.location.hash.substr(1) || '/'; const component = await router.match(path) || <NotFoundPage />;