How to type useRef hook in Flow?

后端 未结 0 1226
生来不讨喜
生来不讨喜 2020-12-30 14:59

I can\'t figure out how to type a useRef hook in Flow. In TS I could just do:

const inputRef = useRef();

But

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