How to fix “Warning: Can't perform a React state update on an unmounted component” in a button click that have an loading inside?

前端 未结 0 1271
伪装坚强ぢ
伪装坚强ぢ 2020-12-10 06:01

I have basically this button that dispatch an request and I\'m seting load to false when the request is done, and i\'m getting this common problem of react can\'t handle the

相关标签:
回答
  • 消灭零回复
提交回复
热议问题