React JS Callback Functions removing list

后端 未结 0 1431
小蘑菇
小蘑菇 2020-12-19 04:52

In the code below, the removeTask function is passing id. It\'s working fine. Instead of passing a id as a parameter, can I declare the id as a var

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