React - uncaught TypeError: Cannot read property 'setState' of undefined

后端 未结 18 2624
清歌不尽
清歌不尽 2020-11-22 13:35

I am getting the following error

Uncaught TypeError: Cannot read property \'setState\' of undefined

even after binding delta in

18条回答
  •  醉话见心
    2020-11-22 14:18

    You need to bind this to the constructor and remember that changes to constructor needs restarting the server. Or else, you will end with the same error.

提交回复
热议问题