React form are rendering the previous value and not the current

后端 未结 0 1914
梦谈多话
梦谈多话 2020-12-18 08:57

My react form is using the useContext to save the value to a global state. Trying to change the value from 1-5 are rendering the previous number and not the current number.

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