gaearon / react-transform-catch-errors

React Transform that catches errors inside React components
183 stars 23 forks source link

Add reporter options #8

Closed klzns closed 9 years ago

klzns commented 9 years ago

As discussed in: https://github.com/KeywordBrain/redbox-react/issues/22 and https://github.com/aulizko/delicate-error-reporter/issues/6#issuecomment-139912921

It would be great if the reporter could get some options as props.

klzns commented 9 years ago

@gaearon thanks for the feedback! I updated the code

gaearon commented 9 years ago

Good. Have you tested it? (Does it work as intended with redbox-react?)

klzns commented 9 years ago

@gaearon yes, it does! I submitted a pull request to them here: https://github.com/KeywordBrain/redbox-react/pull/23

Everything works fine :)

gaearon commented 9 years ago

Released as 0.2.0.