Clément DUNGLER
Clément DUNGLER
Missed this ! sorry ! I guess we can use ``` React.useImperativeHandle(ref, () => ({ osInstance: () => osInstance.current, osTarget: () => osTarget.current, })); ``` What do you think ?
It looks like it's working for me, you know better can you double check ?  I think I also break formatting on save. Downside: **This is a breaking change**....
Part of this yes. `RefObject;` Will cause an error in typescript. It's not a breaking change in terms of implementation.
@KingSora any update on this one ?
All good on my side with a fresh create-react-app using the same command. However I'm running node 12. Any chance you can downgrade and let us know @spoike ?
This is definitely a feature I need as well !! Thanks a lot @tazorax !