https://github.com/logrocket/logrocket-react
React plugin for https://logrocket.com
https://github.com/logrocket/logrocket-react
Last synced: about 2 months ago
JSON representation
React plugin for https://logrocket.com
- Host: GitHub
- URL: https://github.com/logrocket/logrocket-react
- Owner: LogRocket
- License: mit
- Created: 2017-06-06T01:51:25.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2023-11-29T16:51:21.000Z (over 1 year ago)
- Last Synced: 2025-03-30T16:12:42.193Z (about 2 months ago)
- Language: JavaScript
- Size: 10.2 MB
- Stars: 83
- Watchers: 11
- Forks: 14
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# LogRocket React plugin
Optional add-on package for [logrocket](https://www.npmjs.com/package/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
* [Documentation](https://docs.logrocket.com/docs/react-plugin)