react-component-errors
Version:
This is a little utility that wraps you're ES6 (or even ES5) React Component's lifecycle methods with a try/catch and is useful in development because it exposes errors thrown that are swallowed by React by default. Now you can more easily diagnose errors
30 lines (29 loc) • 907 B
JSON
{
"name": "react-component-errors",
"version": "0.0.6",
"description": "This is a little utility that wraps you're ES6 (or even ES5) React Component's lifecycle methods with a try/catch and is useful in development because it exposes errors thrown that are swallowed by React by default. Now you can more easily diagnose errors during development.",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": {
"type": "git",
"url": "https://github.com/staxmanade/react-component-errors.git"
},
"bugs": {
"url": "https://github.com/staxmanade/react-component-errors/issues"
},
"keywords": [
"React",
"ErrorHandler",
"Testing"
],
"contributors": [
{
"name": "Jason Jarrett",
"email": "jason@elegantcode.com"
}
],
"author": "Jason Jarrett <jason@elegantcode.com>",
"license": "ISC"
}