Hi,
Our Meteor application has mix of Blaze Templates & React components. Majority is Blaze templates but all new UI we are creating as React components. We are using iron-router until now but with Meteor 3.x we have decided to migrate iron-router code using a different router because iron-router code has Fibers which is no longer supported to latest nodejs. We are considering Flow-Router-Extra or React-Router. I want know if there are any recommendations on which one is good for our application and why? Also is there any official recommended routing package from Meteor?
1 Like
Hey @mohan1304, if your project uses both Blaze Templates and React Components, I think the best option is to use Flow-Router-Extra.
@dr.dimitru recently shared a blog post about the latest Flow Router packages update: Meteor.js: FlowRouter packages update - DEV Community.
Hi @fredmaiaarantes, Thanks for your response.
My concern is, this package is community supported and Iām not sure how long this will be actively maintained so little worried to use for production environment. Because if for some reason if the support for this package stops and if we face any issues then its going to be rework for us to go with different router. For example, our current code is using iron-router which will not work with latest nodejs because of Fibers dependency but its not maintained anymore so we have to change our current code which is a rework for us.
I still have below questions
- Is this package officially recommended from Meteor Team for routing? If so will there be long-term maintenance or support for future technology changes (like any nodejs deprecations, etc.)
- Do you have any plans to include Flow-Router-Extra package or build your own routing package as part of Meteor framework itself? This will help in avoiding above situation.