I maintain a Meteor package for which I’d like to add support for React alongside the Blaze templates that are already included.
To do this I need to create a dependency on the React package so that the .jsx file is compiled. However, I really don’t want to force the user to include the React package if they’re not actually using React in their project,
I don’t want to create another version of the package done most of it’s the same, although I support it’s a possibility.
This is an issue that many packages are going to start having if they wish to provide React/Angular support. Can anyone suggest how this can best be handled?