🚀 Socket Launch Week 🚀 Day 5: Introducing Socket Fix.Learn More

logrocket-react

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

logrocket-react

React library for [LogRocket](https://logrocket.com/).

6.0.3
latest
Version published
Weekly downloads
50K
8.37%
Maintainers
9
Weekly downloads
 
Created

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

npm i --save logrocket-react@5

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

FAQs

Package last updated on 29 Nov 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts