GitShow/gaearon/react-transform-catch-errors
gaearon

react-transform-catch-errors

React Transform that catches errors inside React components

by gaearon
Star on GitHubForknpm

JavaScript

183 stars20 forks13 contributorsQuiet · 10y agoSince 2015v1.0.2

Meet the team

See all 13 on GitHub →
gaearon
gaearon35 contributions
jamiebuilds
jamiebuilds4 contributions
jedwards1211
jedwards12111 contribution
colinmeinke
colinmeinke1 contribution
davecoates
davecoates1 contribution
apaleslimghost
apaleslimghost1 contribution
weblancaster
weblancaster1 contribution
zalmoxisus
zalmoxisus1 contribution

Languages

View on GitHub →
JavaScript100%

Commit activity

Last 12 weeks · 0 commits

Full graph →

Community health

2 of 6 standards met

Community profile →
42
✓README○License○Contributing✓Code of Conduct○Issue Template○PR Template

Recent PRs & issues

Quiet · 4 discussions · Last activity 10y ago
See all on GitHub →
silentsiri
publish the newest version to npm, pleaseOpenIssue
silentsiri · 9y ago
gitdust
Cannot show errors on page.OpenIssue

Hi, I do exactly what you have written,but I got errors on the browser's console pannel,not on the page.

gitdust · 9y ago
steinso
Document usage of custom ErrorReporter componentOpenIssue

It would be great if there were some more documentation on how to use a local component as the ErrorReporter. I have been struggling with this for some time. Using relative paths did not work, and setting a webpack alias did not seem to work either. I get undefined as the value of ErrorReporter if I use a default export for the component: And i get an empty object if using module.exports.

steinso · 10y ago

Recent fixes

View closed PRs →
alexkvazos
Can this be used with React Hot Loader 1.x or 3.x?ClosedIssue

I am currently using React Hot Loader 1.3 and I want to know if I can use this plugin in some way without loosing React Hot Loader, I do not want to switch to react-transform-hmr. Thanks, Alex

alexkvazos · 4y ago
dtinth
Add more information to error handler.MergedPR

At Taskworld we’re using this in production to be able to catch React rendering errors and display a graceful error message in a web app, and also to send an object containing props and state (stripped of sensitive data) to an error tracking system. This PR adds several addition props to pass to : The of the component that crashed. The state object of the component that crashed. The props passed to the component that crashed. (Previously, I’ve been monkeypatching to augment method with a try...catch block. Moving towards ES6 components, such monkeypatching isn’t possible anymore.)

dtinth · 9y ago
gaearon
Deprecate in favor of React Hot Loader 3MergedPR
gaearon · 10y ago
Structured data for AI agents

Repository: gaearon/react-transform-catch-errors. Description: React Transform that catches errors inside React components Stars: 183, Forks: 20. Primary language: JavaScript. Languages: JavaScript (100%). Latest release: v1.0.2 (10y ago). Open PRs: 0, open issues: 4. Last activity: 10y ago. Community health: 42%. Top contributors: gaearon, jamiebuilds, jedwards1211, colinmeinke, davecoates, apaleslimghost, weblancaster, zalmoxisus, hoegrammer, smashercosmo and others.

·@ofershap

Replace github.com with gitshow.dev