publish a transpiled RN version
Seeing as ReactXP is targetting browser and native, I think it makes sense to ship transpiled module on native also.
https://github.com/facebook/react-native/issues/7850 https://stackoverflow.com/questions/37277215/transpile-react-native-module-to-es5-before-publishing-to-npm
Need to figure out whether this has implications on an upgrade path. I dont believe it does.
https://github.com/facebook/react-native/issues/7850 https://github.com/facebook/react-native/issues/10966
It seems the general wisdom is that only transpiled modules should be published, however there is some issues with React Native packager which may mean that source maps dont get applied. Here is more info:
https://gist.github.com/ide/e7b9181984933ebb0755c7367a32e7e8