react-sizeme icon indicating copy to clipboard operation
react-sizeme copied to clipboard

HOC usage is not forwarding refs

Open ecklf opened this issue 5 years ago • 1 comments

I know it is bad practice to use something like useImperativeHandle. Just did some experimenting

Example: https://codesandbox.io/s/nervous-meadow-5zeo8

Related: https://reactjs.org/docs/forwarding-refs.html#forwarding-refs-in-higher-order-components

ecklf avatar Feb 05 '20 09:02 ecklf

I am unable to use this package until this issue is resolved.

ryandagg avatar May 12 '21 20:05 ryandagg