Design: Subscriptions and Before Hooks in Iron Router

A proposal for using before hooks and waiting on subscriptions in your routes.

Want to learn more? Check out this class:

Using Iron Router

Design: Subscriptions and Before Hooks in Iron Router

Iron Router 0.6.0 is almost ready for release. We've been working on a better mechanism for handling subscriptions and hooks. In this video I'll show you a proposal for a better way of waiting on subscriptions in your routes. Then, we'll take a look at the internals of RouteController and learn when hooks and the action function get called. This video has been archived, but to learn more about the current Iron Router, please take a look at the Using Iron Router class.

  • Meteor
  • Tutorial
Join the Discussion

Want to leave a comment? .