Possible to get meteorhacks:fast-render work with react-router?


#1

It seems like it is meant to work specifically with FlowRouter?

this.route('leaderboard', {
  path: '/leaderboard/:date?',
  waitOn: function(){
    return Meteor.subscribe('leaderboard');
  },
  fastRender: true
});

#2

Check out https://github.com/thereactivestack/meteor-react-router-ssr
It combines faster-render, ssr and react-router. I’m using this package, it works pretty well.

Also it is possible manually init fast render for specific routes:

FastRender.route('/leaderboard/:date', function(params) {
  this.subscribe('leaderboard', params.date);
})