Comments (2)
I just deployed the updated documentation for this:
https://docs.honeybadger.io/lib/javascript/integration/react/#installation
Thanks for the heads up!
from honeybadger-react.
Hello @garethlau,
Thanks for submitting an issue!
As you have correctly guessed, the problem you are facing is because we have just released version 2.0.0
and haven't updated the docs yet. We are going to do that asap.
The major change is that now both Honeybadger
and HoneybadgerErrorBoundary
(formerly ErrorBoundary
) are exported from @honeybadger-io/react
. Therefore this:
import Honeybadger from '@honeybadger-io/js'
import ErrorBoundary from '@honeybadger-io/react'
is now:
import {Honeybadger, HoneybadgerErrorBoundary} from '@honeybadger-io/react'
cc @joshuap
from honeybadger-react.
Related Issues (20)
- Setup config and add context HOT 2
- Beta version honeybadger-js HOT 1
- Double notification HOT 3
- Fix documentation site HOT 3
- Bump peerDependencies version HOT 1
- Transform to Typescript HOT 4
- Custom context values in error object discarded by react error handler
- Missing sourcemaps or a misconfigured package with Create React App - CRA HOT 9
- Enforce Conventional Commits HOT 1
- Outdated version of @honeybadger-io/js 3.2.8 => 4.0.2 HOT 8
- Shipjs Integration
- Shipjs Integration
- react@18 support HOT 2
- Make `@honeybadger-io/js` a peer dependency HOT 2
- Integrating our projects? HOT 4
- ErrorComponent prop on HoneyBadgerErrorBoundary wasn't mentioned anywhere in docs
- New release? HOT 5
- Upgrade to Babel 7
- TypeScript types are not included in npm package HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from honeybadger-react.