MCPcopy Index your code
hub / github.com/LogRocket/logrocket-react

github.com/LogRocket/logrocket-react @v7.0.1

Chat with this repo
repository ↗ · DeepWiki ↗ · release v7.0.1 ↗ · + Follow
11 symbols 16 edges 4 files 0 documented · 0%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

LogRocket React plugin

Optional add-on package for logrocket.

Please note that this is intended to be used in conjunction with build tooling that automatically adds the displayName property to your React components. Without this property existing, our plugin doesn't have any component names to report to LogRocket. You can also manually add them if you want LogRocket to report a different name.


The LogRocket React plugin allows you to search for sessions in which the user clicks a specific component in your app:

Guide for React versions

If using React 17, 18, or 19

npm i --save logrocket-react@7

If using React 16.10

npm i --save logrocket-react@4

If using React 16.5 - 16.9

npm i --save logrocket-react@3

If using React 16.4

npm i --save logrocket-react@2

If using React <16.4+

npm i --save logrocket-react@1

If using React 0.14.0 or React 15

npm i --save logrocket-react@^0.0.5

Resources

Core symbols most depended-on inside this repo

setupReact
called by 0
src/index.js
listener
called by 0
src/index.js

Shape

Function 6
Method 3
Class 2

Languages

TypeScript100%

Modules by API surface

src/__tests__/main.test.js9 symbols
src/index.js2 symbols

For agents

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

⬇ download graph artifact