findDOMNode is deprecated in StrictMode with React.createRef()

后端 未结 0 1293
青春惊慌失措
青春惊慌失措 2020-12-30 00:49

I\'m using a functional component in react to launch a popup form. I want to grab the values in the form on submission and was using the variable = React.createRef()

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