Hacker News new | ask | show | jobs
by avery42 2160 days ago
Maybe I misunderstood, but isn't this what `React.forwardRef` is for?
1 comments

along with useImperativeHandle for writing your own imperative functions like focus() or whatever