What's so cool about React? Am I obsoleting myself by not learning it?

I believe so. If not I know you can wrap it like this:

<YourDataComponent data={data}>
    <Router component={MyComponent} components-data={data}>
        <Route foo={} bar={} />
        <Route foo={} bar={} />
    </Router>
</YourDataComponent>

As that’s how the Redux does it so you’re only passing it in once. However I bet you’ll be able to pass it into each individual route if that’s preferred.

With FlowRouter you need to do it for each one so I made a helper to do that:
Use Functional Programming to Simplify Your Meteor Code

1 Like