The alternative is to Forward Refs via Props: Forwarding Refs | React
Just add a ~myWhateverRef
prop that is not just named ref
.
↧
Correct way to use `React.forwardRef` with uncurried ReScript + ReScriptReact 0.12?
↧