reactotron-react-native
- Version 5.1.10
- Published
- 137 kB
- 2 dependencies
- MIT license
Install
npm i reactotron-react-native
yarn add reactotron-react-native
pnpm add reactotron-react-native
Overview
A development tool to explore, inspect, and diagnose your React Native apps.
Index
Variables
Functions
Interfaces
Variables
variable reactNativeCorePlugins
const reactNativeCorePlugins: ( | ((reactotron: ReactotronCore) => { features: { trackAsyncStorage: () => void; untrackAsyncStorage: () => void; }; }) | (() => { onCommand: (command: any) => void }) | ((reactotron: ReactotronCore) => { onConnect: () => void }))[];
variable reactotron
const reactotron: ReactotronReactNative;
Functions
function asyncStorage
asyncStorage: ( options?: AsyncStorageOptions) => (reactotron: ReactotronCore) => { features: { trackAsyncStorage: () => void; untrackAsyncStorage: () => void };};
function devTools
devTools: () => () => { onCommand: (command: any) => void };
function networking
networking: ( pluginConfig?: NetworkingOptions) => (reactotron: ReactotronCore) => { onConnect: () => void };
function openInEditor
openInEditor: ( pluginConfig?: OpenInEditorOptions) => () => { onCommand: (command: any) => void };
function overlay
overlay: () => () => { onCommand: (command: any) => void; features: { overlay: ( WrappedComponent: React.ComponentType ) => (props?: Record<string, any>) => React.JSX.Element; };};
function storybook
storybook: () => () => { onCommand: (command: any) => void; features: { storybookSwitcher: ( storybookUi: any ) => ( WrappedComponent: React.ComponentType<any> ) => (props: any) => React.JSX.Element; };};
A plugin which provides .storybookSwitcher() on Reactotron.
function trackGlobalErrors
trackGlobalErrors: ( options?: TrackGlobalErrorsOptions) => (reactotron: ReactotronCore) => { onConnect: () => void; features: { reportError: (error: ExtendedExceptionData) => void };};
Track global errors and send them to Reactotron logger.
function trackGlobalLogs
trackGlobalLogs: () => (reactotron: ReactotronCore) => { onConnect: () => void };
Track calls to console.log, console.warn, and console.debug and send them to Reactotron logger
Interfaces
interface ReactotronReactNative
interface ReactotronReactNative extends Reactotron, ReactNativePluginFeatures {}
property asyncStorageHandler
asyncStorageHandler?: AsyncStorageStatic;
property setAsyncStorageHandler
setAsyncStorageHandler: (asyncStorage: AsyncStorageStatic) => this;
property useReactNative
useReactNative: (options?: UseReactNativeOptions) => this;
interface UseReactNativeOptions
interface UseReactNativeOptions {}
property asyncStorage
asyncStorage?: AsyncStorageOptions | boolean;
property devTools
devTools?: boolean;
property editor
editor?: OpenInEditorOptions | boolean;
property errors
errors?: TrackGlobalErrorsOptions | boolean;
property log
log?: boolean;
property networking
networking?: NetworkingOptions | boolean;
property overlay
overlay?: boolean;
property storybook
storybook?: boolean;
Package Files (10)
- dist/types/src/index.d.ts
- dist/types/src/plugins/asyncStorage.d.ts
- dist/types/src/plugins/devTools.d.ts
- dist/types/src/plugins/networking.d.ts
- dist/types/src/plugins/openInEditor.d.ts
- dist/types/src/plugins/overlay/index.d.ts
- dist/types/src/plugins/storybook/index.d.ts
- dist/types/src/plugins/trackGlobalErrors.d.ts
- dist/types/src/plugins/trackGlobalLogs.d.ts
- dist/types/src/reactotron-react-native.d.ts
Dependencies (2)
Dev Dependencies (35)
- @babel/core
- @babel/plugin-proposal-class-properties
- @babel/plugin-transform-react-jsx
- @babel/preset-env
- @babel/preset-typescript
- @react-native-async-storage/async-storage
- @types/jest
- @types/node
- @types/react
- @types/react-native
- @typescript-eslint/eslint-plugin
- @typescript-eslint/parser
- babel-eslint
- babel-jest
- eslint
- eslint-config-prettier
- eslint-config-standard
- eslint-plugin-import
- eslint-plugin-n
- eslint-plugin-promise
- eslint-plugin-standard
- jest
- npm-run-all
- prettier
- react
- react-native
- rimraf
- rollup
- rollup-plugin-babel
- rollup-plugin-babel-minify
- rollup-plugin-filesize
- rollup-plugin-node-resolve
- rollup-plugin-resolve
- ts-jest
- typescript
Peer Dependencies (1)
Badge
To add a badge like this oneto your package's README, use the codes available below.
You may also use Shields.io to create a custom badge linking to https://www.jsdocs.io/package/reactotron-react-native
.
- Markdown[![jsDocs.io](https://img.shields.io/badge/jsDocs.io-reference-blue)](https://www.jsdocs.io/package/reactotron-react-native)
- HTML<a href="https://www.jsdocs.io/package/reactotron-react-native"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>
- Updated .
Package analyzed in 2649 ms. - Missing or incorrect documentation? Open an issue for this package.