React TypeError this._test is not a function

前端 未结 3 1765
天涯浪人
天涯浪人 2020-12-03 11:11

Since im new to JavaScript and React, i really have problems figuring out the right syntax.

Here my problem:

_handleDrop(files) should call the

3条回答
  •  既然无缘
    2020-12-03 11:50

    Also, this error can also occur (not in the context of question aske), when Some One passes a function down to a Child Component with wrong name, i.e., the function accessed in the Child Component is not defined due to spelling mistake.

    I came here to figure that, but found out that was the case with me. :) Hope it will help someone.

提交回复
热议问题