Skip to content

Fix Reactotron console error #1878

Description

@leotm

// TODO: Fix Error Unable to resolve module react-native/Libraries/Network/XHRInterceptor from .../node_modules/reactotron-react-native/dist/index.js:
// react-native/Libraries/Network/XHRInterceptor could not be found within the project or in these directories: node_modules
// if (__DEV__) {
// import('../ReactotronConfig')
// .then(() => {
// // eslint-disable-next-line no-console
// console.log('Reactotron Configured')
// })
// // eslint-disable-next-line no-console
// .catch(() => console.error)
// }

NB

Metadata

Metadata

Assignees

No one assigned

    Labels

    🐞Bugerino: Summin' ain't work'n jimmydevDependenciesDependencies only required for local dev or the prod build, NOT prod runtime

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions