How to populate a complex react state?

后端 未结 0 393
傲寒
傲寒 2020-12-14 01:05
   const [content, setContent] = useState([
    {main: \'\', li:[\'\'] },
  ]);

i am looking for a way to add new items to content.li? i have tried

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