How did useEffect works in ReactJS?

后端 未结 0 1135
轮回少年
轮回少年 2020-11-30 05:18

I\'m learning refs in React. Why console.log isn\'t showing initial useRef value (null). Instead of this it displays the DOM element. I thought it would display null in cons

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