クライアントサイドのエラーログによれば、私のReactJSアプリケーションは時々次の例外をスローします。未定義またはnull参照のプロパティ 'remove'を取得できません
TypeError: Unable to get property 'remove' of undefined or null reference
at M.willDeleteListener (eval code:17:25544)
at v.deleteAllListeners (eval code:1:25843)
at m.Mixin.unmountComponent (eval code:16:15442)
at i.unmountComponent (eval code:15:5262)
at unmountChildren (eval code:17:3368)
at _.Mixin.unmountChildren (eval code:17:2153)
at m.Mixin.unmountComponent (eval code:16:15442)
at i.unmountComponent (eval code:15:5262)
at _.unmountComponent (eval code:15:16416)
at i.unmountComponent (eval code:15:5262)
私は、エラーの原因は、私は(ローカルまたは生産で)再現することができませんでしてきたhttps://github.com/facebook/react/blob/35962a00084382b49d1f9e3bd36612925f360e5b/src/renderers/dom/client/eventPlugins/SimpleEventPlugin.js#L600
であると思います。
この問題の原因は何ですか?私はエラーを再現することができる試みのアイデアが必要です。
'inst'パラメータを確認しましたか?これは 'undefined'です。あなたは 'bind(this) 'の何かを見逃しました –
' unmountComponent'と呼ばれる反応が出る前に何かがDOM要素を削除したのでしょうか? –
@AndreyBoriskoあなたはこれを理解したことがありますか?私は現在同じ問題を抱えていると思うが、どこから来ているのかを確かめることはできない。 – schoonie23