Meteor.Router vs Iron Router

I want to create a multi-page Meteor web app and mobile app. So I am looking for routing services.

From research , I put together Iron Router - this is what I'm looking for, But many tutorials also mentionMeteor.Router

What are the differences (if any) between Iron Router and "Meteor.Router"?

+3


source to share


1 answer


iron:router

has been the standard Meteor routing solution for over a year now, you should definitely use it, it is probably the most downloaded atmosphere package.

Please note, however, that the project has not been updated for several months and there is another router ( FlowRouter ) that is focused only on the client side of routing and subscription management, it takes a different approach than iron:router

making the routing code non-reactive by default.



Meteor.Router is a deprecated package that was previously supported by one of the two main contributors iron:router

, the following sections are mentioned in this guide: clearly deprecated.

iron:router

guide
is the recommended reading to understand some advanced concepts such as server-side and client-side routing.

+8


source







All Articles