Highest Rated Comments


clicheappform3 karma

First of all I can't thank you all enough for React Native! We went from zero to publishing our Android app in about a month – for us that would be out of the question if it wasn't for RN.

Now that the app is out there comes the hard part, though, which is maintenance. I have a few questions under this bucket I'd love to hear your take:

  • Is ErrorUtils.setGlobalHandler the best way to catch all errors in JS land?

  • Is this error handler (or anything else in RN) ever going to handle errors swallowed by promises?

  • We're having a hard time reproducing user reported bugs (be it in emulators or the devices we have access). Not stricly related to React Native, but are there any services/frameworks/tooling that you'd recommend here?

clicheappform1 karma

fwiw I published a little module to support env vars in Android. It's synchronous, so ended up going with a different interface than react-native-env.

clicheappform1 karma

For me the hardest thing do well in React Native is testing. Are Jest and ReactTestUtils still your favorite tools?

While on this subject, any thoughts on integration tests for Android apps? I meant to try Espresso, but wondering if this is going to play well with React or if there's anything else I should consider first.