ES6 ,modules seem to work for React Native itself, but when trying to test React Native applications with Jest, there are extra steps involved on the application side. These could be avoided by compiling to ES5 instead of ES6. This just becomes a question of whether or not this library should be responsible for handling the translation between ES6 modules and environments without them or if that should be the application's responsibility.
I do not have an answer for that question, yet.
ES6 ,modules seem to work for React Native itself, but when trying to test React Native applications with Jest, there are extra steps involved on the application side. These could be avoided by compiling to ES5 instead of ES6. This just becomes a question of whether or not this library should be responsible for handling the translation between ES6 modules and environments without them or if that should be the application's responsibility.
I do not have an answer for that question, yet.