I came across this RTE recently that occurs during mount as a result of us accessing jsRef on the Ref when passing through to the React.useImperativeHandle JS interop layer.
Instead of throwing, these changes make it so that the creation of the imperative handle is simply a no-op unless the Ref provided is not null.
I came across this RTE recently that occurs during mount as a result of us accessing
jsRef
on theRef
when passing through to theReact.useImperativeHandle
JS interop layer.Instead of throwing, these changes make it so that the creation of the imperative handle is simply a no-op unless the
Ref
provided is not null.