Changing an array of objects with React useState

后端 未结 0 1188
栀梦
栀梦 2020-12-05 11:48

I have a calendar app that renders its events with an array of objects:

const [events, setEvents] = useState([
    {
      title: "Werk",
      star         


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