Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

honeybadger-react

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

honeybadger-react

React library support for Honeybadger.io

  • 1.0.1
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Weekly downloads
 
Created
Source

Honeybadger - React integration

Build status NPM

NPM

A honeybadger-js implementation for React.

This package provides a React error boundary from Honeybadger.io. It allows for better

Installation

You can install the package from NPM.

npm

npm i --save honeybadger-js honeybadger-react
# or
yarn add honeybadger-js honeybadger-react

Usage

The recommended usage is by using the Honeybadger.factory method to create a client and passing that into the <HoneybadgerReact /> error boundary component.

import Honeybadger from 'honeybadger-js'
const hbClient = Honeybadger.factory({ apiKey: 'API_KEY' });

import ReactDOM from 'react-dom'
import React from 'react'
import HoneybadgerReact from 'honeybadger-react'

// wrap your entire app tree in the ErrorBoundary provided
ReactDOM.render(
    <HoneybadgerReact client={hbClient}>
        <YourApp />
    </HoneybadgerReact>,
    document.getElementById('app')
)

See the example for more info.

Support

License

The honeybadger-react JS library is free software released under the MIT License. See LICENSE.txt for details.

FAQs

Package last updated on 17 Sep 2018

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc