我正在为我的基本待办事项列表应用程序创建一个删除函数;但是,当我尝试从列表中删除某个项目并再次设置状态时,我遇到了一个问题。(react-dom.development.js:262) at executeDispatchesInOrder(react-dom.development.js:615)
at executeDispa
(615 dom.development ment.js:145) at Object.invokeGuardedCallbackDev (615 dom.development ment.js:195(864 dom.development ment.js:724) at Array.forEach () at forEachAccumulated (864 dom.Development.js:692) at runEventsInBatch (r
at ReactDOMServerRenderer.render (<path to project directory>\node_modules\react-dom\cjs\react-dom-server.node.development.jsreact-dom-server.node.development.js:3373:29)
at renderToString (<path to project directory>\node_modules\react-<e