News for hackers. Stuff that matters.
Re:Common mistakes writing React components with hooks by avery42 on Tuesday July 21, 2020 @10:52AM (#23907251)
Maybe I misunderstood, but isn't this what `React.forwardRef` is for?
Re:Common mistakes writing React components with hooks by evan_ on Tuesday July 21, 2020 @12:44PM (#23908393)
along with useImperativeHandle for writing your own imperative functions like focus() or whatever