Open ecklf opened 4 years ago
I know it is bad practice to use something like useImperativeHandle. Just did some experimenting
useImperativeHandle
Example: https://codesandbox.io/s/nervous-meadow-5zeo8
Related: https://reactjs.org/docs/forwarding-refs.html#forwarding-refs-in-higher-order-components
I am unable to use this package until this issue is resolved.
I know it is bad practice to use something like
useImperativeHandle
. Just did some experimentingExample: https://codesandbox.io/s/nervous-meadow-5zeo8
Related: https://reactjs.org/docs/forwarding-refs.html#forwarding-refs-in-higher-order-components