Merge ref and callbackRef
ZeeCoder opened this issue · comments
Viktor Hubert commented
There's no good reason I can think of why the returned ref couldn't have been a callback ref.
That way the API gets simplified and usage is easier as users don't have to worry about whether their component will mount with a delay or not.
Viktor Hubert commented
Actually, I can release this in the next minor, as I've only released callbackRef as an alpha release
Viktor Hubert commented
On second thought I can't change the public API without a major version bump
Viktor Hubert commented
Done in v7 alpha