将 Meteor 与 React 结合使用是否意味着您不必使用 IronRouter 或 FlowRouter?

Does using Meteor with React mean that you don't have to use IronRouter or FlowRouter?

我一直在用 React 探索更多关于 Meteor 的信息,但是通过他们的文档尚未回答的一个问题是 React 是否消除了对路由器的需求,或者更确切地说,它是否只是消除了将集合绑定到Router 和抽象本质上将路由器渲染为仅该功能;路由。

这有意义吗?

我想弄清楚的是 IronRouter 是否足以满足我的 Meteor+React 应用程序的需求,或者我是否应该转向 FlowRouter 范式如果我仍然采用反应式路径。

React 可以与 iron router 或 Meteor 包中提供的其他路由系统结合使用。

就我个人而言,如果你想走这条路,我已经集成了 React Router, a routing system built on top of React, and use that and forgo both Blaze and any router built on top of Blaze. Doing so makes it easier for me to manage my routes and components in a single React component. I have a demo repository on Github that can be a good starting point as well as setup tutorial 一步一步地通过回购协议。