Why I get null in the first click and in the second or any click after it i get input element correct, react js?

后端 未结 0 651
天命终不由人
天命终不由人 2021-01-06 08:27

This is the App.js which i passed input element as a props to children component to display the element when button clicked in the children component, but it log null first

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