josdejong / josdejong/jsoneditor
React function component: Cannot read property 'catch' of undefined
Open
question
- Dominant language
- JavaScript
- Stars
- 12.3k
- Forks
- 2.1k
- PR merge metrics
- No merged PRs in 30d
Description
Hi, thanks for the great job.
I am using jsoneditor with react and function component.
Everything goes fine, but when I trigger updating using onChangeJSON and then an error thrown.
`Cannot read property 'catch' of undefined`
Demo code:
https://codesandbox.io/s/9sljv
Contributor guide
Assessment
This issue has not been assessed yet.