josdejong / josdejong/jsoneditor

React function component: Cannot read property 'catch' of undefined

Open
#1,358 8 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.