This has worked fine to date but something in the update is now preventing a .JSX file from having multiple export default statements. This SO question makes me think this is as designed and the reasoning makes sense.
However, does this mean I need to be adding a file for each .jsx file where I use createContainer? As In I would have ChooseActivity.jsx and ChooseActivityContainer.jsx? Is there another recommended method for how to export the container without needing a separate file?
After upgrading from Meteor 1.4.2-rc9 to 1.4.2 I received a whole bunch of these errors:
The problem is in each of my .JSX files where I am using createContainer I have:
This has worked fine to date but something in the update is now preventing a .JSX file from having multiple export default statements. This SO question makes me think this is as designed and the reasoning makes sense.
However, does this mean I need to be adding a file for each .jsx file where I use createContainer? As In I would have ChooseActivity.jsx and ChooseActivityContainer.jsx? Is there another recommended method for how to export the container without needing a separate file?
Thanks in advance for the help.