MCPcopy
hub / github.com/infinitered/reactotron

github.com/infinitered/reactotron @reactotron-react-native@5.2.0 sqlite

repository ↗ · DeepWiki ↗ · release reactotron-react-native@5.2.0 ↗ · compare 2 versions
961 symbols 2,218 edges 399 files 70 documented · 7%
README

Reactotron Logo

Join our Community Slack

Introduction

Reactotron is a powerful debugger for React and React Native applications. It provides an easy-to-use interface for developers to monitor their application's state, network requests, and performance metrics and can be used for any size of project, from small personal apps to large-scale enterprise applications. The OG debugger at Infinite Red that we use on a day-to-day basis to build client apps. Additionally, Reactotron is completely open source and free to use, making it an invaluable tool for developers at all levels of experience.

We recommend that you watch Darin Wilson's talk at Chain React: Chain React 2018: Debugging and Beyond with Reactotron!

Reactotron Superpowers

Use Reactotron to:

  • view your application state
  • show API requests & responses
  • perform quick performance benchmarks
  • subscribe to parts of your application state
  • display messages similar to console.log
  • track global errors with source-mapped stack traces including saga stack traces!
  • dispatch actions like a government-run mind control experiment
  • hot swap your app's state using Redux or mobx-state-tree
  • show image overlay in React Native
  • track your Async Storage in React Native

You plug it into your app as a dev dependency so it adds nothing to your production builds.

Desktop

Reactotron on the left, demo React Native app on the right.

Desktop

Installation

On the Releases page, navigate to the latest reactotron-app release to find the newest version of:

  • macOS (x64 & arm64)
  • Linux (32-bit & 64-bit)
  • Windows (32-bit & 64-bit)

How to setup Reactotron in our app

How to use Reactotron's features/plugins

Tips and Tricks

Some tips that will elevate your Reactotron experience.

Bug Reports

When reporting problems with Reactotron, use the provided example app located in app/example-app to replicate the issue. This approach enables us to isolate and expedite the resolution of the problem.

Want to contribute? Here are some helpful reading materials

Troubleshooting

Credits

Reactotron is developed by Infinite Red, @rmevans9, and 70+ amazing contributors! Special thanks to @skellock for originally creating Reactotron while at Infinite Red.

Premium Support

Reactotron, as an open source project, is free to use and always will be. Infinite Red offers premium React and React Native mobile app design/development services. Email us at hello@infinite.red to get in touch for more details.

Extension points exported contracts — how you extend this code

ILogBox (Interface)
* @see https://github.com/facebook/react-native/blob/330639f74018cfeda28e74c6dae8110d97603860/packages/react-native/Libr
types/react-native/Libraries/LogBox/LogBox.d.ts
ParsedRules (Interface)
Precomputed form of a rules object, reused across redact() calls.
lib/reactotron-mcp/src/redaction.ts
Console (Interface)
(no doc)
lib/reactotron-core-client/types/reactotron.d.ts
UseReactNativeOptions (Interface)
(no doc)
lib/reactotron-react-native/src/reactotron-react-native.ts
MmkvPluginConfig (Interface)
(no doc)
lib/reactotron-react-native-mmkv/src/reactotron-react-native-mmkv.ts
TrackedNode (Interface)
(no doc)
lib/reactotron-mst/src/reactotron-mst.ts
ReactotronTheme (Interface)
(no doc)
lib/reactotron-core-ui/src/themes.ts
PluginConfig (Interface)
(no doc)
lib/reactotron-redux/src/pluginConfig.ts

Core symbols most depended-on inside this repo

on
called by 67
lib/reactotron-core-server/src/reactotron-core-server.ts
redact
called by 66
lib/reactotron-mcp/src/redaction.ts
filter
called by 57
apps/example-app/types/lib.es5.d.ts
createClient
called by 48
lib/reactotron-core-client/src/reactotron-core-client.ts
close
called by 47
lib/reactotron-core-client/src/reactotron-core-client.ts
use
called by 42
lib/reactotron-core-client/src/reactotron-core-client.ts
createMstPlugin
called by 27
lib/reactotron-mst/test/fixtures/create-mst-plugin.ts
textResult
called by 27
lib/reactotron-mcp/src/tools.ts

Shape

Function 674
Interface 210
Method 47
Class 18
Enum 12

Languages

TypeScript100%

Modules by API surface

lib/reactotron-mcp/src/redaction.ts34 symbols
lib/reactotron-core-client/src/reactotron-core-client.ts26 symbols
lib/reactotron-mst/src/reactotron-mst.ts21 symbols
apps/reactotron-app/src/renderer/pages/reactNative/Overlay.tsx21 symbols
lib/reactotron-core-server/src/reactotron-core-server.ts17 symbols
lib/reactotron-mcp/src/mcp-server.ts14 symbols
lib/reactotron-core-ui/src/contexts/Timeline/useTimeline.ts13 symbols
lib/reactotron-react-native/src/plugins/asyncStorage.ts12 symbols
lib/reactotron-core-ui/src/modals/TimelineFilterModal/TimelineFilterModal.story.tsx12 symbols
apps/example-app/app/components/Screen.tsx12 symbols
lib/reactotron-core-contract/src/state.ts11 symbols
lib/reactotron-core-ui/src/timelineCommands/LogCommand/index.tsx10 symbols

Dependencies from manifests, versioned

@babel/core7.23.2 · 1×
@babel/eslint-parser7.22.15 · 1×
@babel/plugin-proposal-class-properties7.18.6 · 1×
@babel/plugin-proposal-export-namespace-from7.18.9 · 1×
@babel/plugin-proposal-nullish-coalescing-operator7.0.0 · 1×
@babel/plugin-proposal-optional-chaining7.0.0 · 1×
@babel/plugin-transform-arrow-functions7.0.0 · 1×
@babel/plugin-transform-react-jsx7.22.15 · 1×
@babel/plugin-transform-shorthand-properties7.0.0 · 1×
@babel/plugin-transform-template-literals7.0.0 · 1×
@babel/preset-env7.23.2 · 1×
@babel/preset-react7.22.15 · 1×

For agents

$ claude mcp add reactotron \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact