Deprecate reactotron-react-js
and move functionality into reactotron-react-native
.
#1384
Labels
hold my beer 🍺
This may be crazy but...
maintenance 🔧
Dependencies, refactoring, tests, and janitor work.
At least internally, most uses of Reactotron for web are either Expo web or
react-native-web
exports of a React Native app.In Ignite, we need to an awkward re-export of
ReactotronClient
to get our Reactotron config to work properly https://github.com/infinitered/ignite/blob/master/boilerplate/app/devtools/ReactotronClient.web.tsreactotron-react-js
is not a lot of code, it is:trackGlobalErrors
https://github.com/infinitered/reactotron/blob/master/lib/reactotron-react-js/src/plugins/track-global-errors.tsThese can be inlined into
reactotron-react-native
with.web.ts
alternatives. This is a more familiar pattern to React Native libraries since Metro handles bundling platform extensions.Now that we can ship source code in Reactotron and let Metro bundle it, this pattern would be easier to use.
TODO:
The text was updated successfully, but these errors were encountered: