I’m trying out Meteor + React for the first time, and I’m having an issue with load order. I have a global
App.Components where I’m keeping all my React components, but since Meteor has that strict load order, some components aren’t available in other components unless they’re loaded first. This obviously isn’t optimal as I have to use hacks like nest folder in folders, and use
_ to move the folder up, etc.
What I really don’t understand is I’ve looked at many Meteor + React example apps and it doesn’t seem like they have the same problem. I’ve read that it shouldn’t be an issue since the
render() functions aren’t called until after Meteor.startup which means all the components should be available, if I understood that correctly.
Am I missing something, or is the issue simply using CJSX and at compile time it can’t find the components?