You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Check if updating to the latest Preact version resolves the issue
Describe the bug
As a follow up to #3695 and #3696 - in the same reproduction if we replace the ref with a function we are calling it in the wrong order. We first call it with the div and then with the unmounted null.
Describe the bug
As a follow up to #3695 and #3696 - in the same reproduction if we replace the ref with a function we are calling it in the wrong order. We first call it with the div and then with the unmounted null.
To Reproduce
I have already added a test which shows the issue
Expected behavior
We expect the unmounted element to cleanup the ref and then the refto be called with the new element.
The text was updated successfully, but these errors were encountered: