I want to update my state after a button clicked, below is a piece of update function handler codes where i tried to find the error and i couldn't, someone help me seems that line no.55 has an error. const addUpdateStudentHandler =(mystudent) =>{
axios.put(`http://localhost:3006/students
我在我的react应用程序中使用了第三方库'FoamTree‘来实现树的可视化。当我在我的组件中导入它的文件'carrotsearch.foamtree.js‘时,它在多行中给出了这个错误: Expected an assignment or function call and insteadsaw an expression no-unused-expressions 它在普通的Javascript中运行良好。其中有几个是我要分享的</e