From 6c34cb03771f700372af267b058ceeb614819a4d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim=20Daubensch=C3=BCtz?= Date: Mon, 12 Oct 2015 09:24:18 +0200 Subject: [PATCH] Add last bit of documentation --- js/app.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/js/app.js b/js/app.js index 4b878435..c9451e47 100644 --- a/js/app.js +++ b/js/app.js @@ -86,6 +86,8 @@ class AppGateway { // Send the applicationWillBoot event to the third-party stores EventActions.applicationWillBoot(settings); + // `history.listen` is called on every route change, which is perfect for + // us in that case. history.listen(EventActions.routeDidChange); React.render((