React get ref value with typescript [Property 'clientHeight' does not exist on type 'never'.]

前端 未结 0 391
太阳男子
太阳男子 2021-01-06 06:19

I\'m using the useRef hook to get the height and the top offset position of an object in the dom because I need them for some computation. After components mount, I need to

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