Hello.
function someFunc (obj, callbackFunc){ let copyObj = {...obj}; function handleOnChange(event){ let target = event.target; let changedObj = { name: target.value; } return changedObj; } function handleSubmit(event){ callbackFunc(handleOnChange); event.preventDefault(); } return( <form onSubmit='handleSubmit'> <input type='text' value='copyObj.name' onChange='handleOnChangeInput'/> </form> ); } The idea is that by pressing a button an object and a callback function come from a class, the object is copied and passed to input, the input changes, the object is transferred to the callback function, the callback function transfers the object to the class that displays the object on the page. The essence of the problem, the value input does not receive the value of the object; when you click on a button, the object comes into function, checked with console.log, but nothing happens when copying and transferring object values to value. It seems to me that the problem is in my handleOnChange, but I do not understand where, help, please.