infinitered / reactotron-react-native

Reactotron's react-native client.
MIT License
110 stars 27 forks source link

Provide an unminified version in NPM? #1044

Open 3rdp opened 1 year ago

3rdp commented 1 year ago

Not really a bug, I guess it's more of a feature request. This NPM package comes with minified code, and it plays well with metro-react-native-babel-preset by default. This Babel preset has unstable_transformProfile option, which alters how the app's source code is transformed. Essentially it's doing less work which improves the UX of debugging via breakpoints and speeds up bundle times. And it breaks Reactotron.

The error is ReferenceError: Property 'regeneratorRuntime' doesn't exist, js engine: hermes

screenshot image

I see that issues have been ignored in this repo since Apr 3 2021, a year and a half at least. So I think I might end up releasing another NPM package for this, or maybe someone else will. I just wanted to report it here first.