React: How to update a property of an object?

前端 未结 0 1926
谎友^
谎友^ 2021-01-24 03:38

I want to increase the likes of a single blog by 1 in the incLikes function and put the updated blog back in the blogs state

const App = () =>         


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