react.js useState hook is assigned a value but not used, but that is ok

后端 未结 0 1991
没有蜡笔的小新
没有蜡笔的小新 2021-01-13 07:01

I have this setup so that the render is forces when they click by simply updating the state of a hook. Is there a nicer or cleaner way to do this.. here is some code...

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