Javascript – How does updating the state in Reactjs work?
I need help understanding why is that the state is updated in the React Developer Tools state, but not when i console.log it. Below is the code: const [values, setValues] = useState({ lastName: "", firstName: "", lastNameHiragana: "", firstNameHiragana: "",…