React setState not re-rendering component

前端 未结 0 559
佛祖请我去吃肉
佛祖请我去吃肉 2021-01-24 18:05

I got the following react code

const [folders, setFolders] = useState([
    {
        id: 1,
        title: \'name\',
        logo: \'logo\',
        tasks: 
             


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