Implement the Singleton Router API (#429)
* Immplement the initial singleton Router. * Use the new SingletonRouter for HMR error handling. * Use SingletonRouter inside the Link. * Create an example app using the Router. * Make the url parameter optional in Router.push and Router.replace * Add a section about next/router in the README.
Showing
examples/using-router/README.md
0 → 100644
lib/router/index.js
0 → 100644
... | ... | @@ -48,7 +48,6 @@ |
"chokidar": "1.6.1", | ||
"cross-spawn": "5.0.1", | ||
"del": "2.2.2", | ||
"domready": "1.0.8", | ||
"friendly-errors-webpack-plugin": "1.1.2", | ||
"glamor": "2.20.12", | ||
"glob-promise": "3.1.0", | ||
... | ... |
router.js
0 → 100644
想要评论请 注册 或 登录