React comes back with an unexpected token error when I do a dynamic destructuring of my object

前端 未结 0 1161
孤街浪徒
孤街浪徒 2020-12-05 23:51

I\'m updating an input field with an onChange event in React.

const handleUpdateText = (id, name, text) => {
  const newItems = items.map( item => {
  i         


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