From d5eec54c72b755522addc4a839810971ba24f813 Mon Sep 17 00:00:00 2001 From: Maxime Quandalle Date: Sat, 22 Aug 2015 22:59:03 +0200 Subject: Start the migration from iron-router to flow-router Motivations: * Iron-Router foces us to use Tracker.nonreactive black magic in order to avoid un-necessary re-renders; * There is a community consensus (supported by some MDG members) that the flow-router API is easier to reason about; * The useraccounts now supports flow router (that was a blocking element when I considered the switch ~3months ago) On the server we use the Picker router, as encouraged by the Kadira team (which develop both Flow and Picker routers). In the current state of things there are some bugs related to the missing Loading architecure. Previously onRendered callback where always called when the data the component needed was available, now we have to handle this ourselves, which we will in a following commit. --- .meteor/packages | 7 +++++-- .meteor/versions | 16 +++++++--------- 2 files changed, 12 insertions(+), 11 deletions(-) (limited to '.meteor') diff --git a/.meteor/packages b/.meteor/packages index 5547ede0..11594a83 100644 --- a/.meteor/packages +++ b/.meteor/packages @@ -14,7 +14,7 @@ kenton:accounts-sandstorm service-configuration useraccounts:core useraccounts:unstyled -useraccounts:iron-routing +useraccounts:flow-routing # Compilers mquandalle:jade @@ -32,8 +32,11 @@ reywood:publish-composite # Utilities alethes:pages +arillo:flow-router-helpers audit-argument-checks -iron:router +kadira:blaze-layout +kadira:flow-router +meteorhacks:picker meteorhacks:subs-manager mquandalle:autofocus mquandalle:bower diff --git a/.meteor/versions b/.meteor/versions index c60462d2..e9be382b 100644 --- a/.meteor/versions +++ b/.meteor/versions @@ -3,6 +3,7 @@ accounts-password@1.1.1 aldeed:collection2@2.3.3 aldeed:simple-schema@1.3.3 alethes:pages@1.8.4 +arillo:flow-router-helpers@0.4.3 audit-argument-checks@1.0.3 autoupdate@1.2.1 base64@1.0.3 @@ -30,6 +31,7 @@ cfs:upload-http@0.0.20 cfs:worker@0.1.4 check@1.0.5 coffeescript@1.0.6 +cosmos:browserify@0.5.0 dburles:collection-helpers@1.0.3 ddp@1.1.0 deps@1.0.7 @@ -43,16 +45,10 @@ htmljs@1.0.4 http@1.1.0 id-map@1.0.3 idmontie:migrations@1.0.0 -iron:controller@1.0.8 -iron:core@1.0.8 -iron:dynamic-template@1.0.8 -iron:layout@1.0.8 -iron:location@1.0.9 -iron:middleware-stack@1.0.9 -iron:router@1.0.9 -iron:url@1.0.9 jquery@1.11.3_2 json@1.0.3 +kadira:blaze-layout@2.0.0 +kadira:flow-router@2.3.0 kenton:accounts-sandstorm@0.1.4 launch-screen@1.0.2 less@1.0.14 @@ -65,6 +61,7 @@ meteor@1.1.6 meteor-platform@1.2.2 meteorhacks:aggregate@1.2.1 meteorhacks:collection-utils@1.2.0 +meteorhacks:picker@1.0.3 meteorhacks:subs-manager@1.5.2 meteorspark:util@0.2.0 minifiers@1.1.5 @@ -115,7 +112,8 @@ ui@1.0.6 underscore@1.0.3 url@1.0.4 useraccounts:core@1.12.2 -useraccounts:iron-routing@1.12.2 +useraccounts:flow-routing@1.12.2 useraccounts:unstyled@1.12.2 webapp@1.2.0 webapp-hashing@1.0.3 +zimme:active-route@2.3.1 -- cgit v1.2.3-1-g7c22