fix(jsx/dom): execute previous ref cleanup when ref prop changes on re-render (#5264)
Before adoption: this commit came in with the history the project adopted, so no landing records it.
* fix(jsx/dom): execute previous ref cleanup when ref prop changes on re-render * refactor(jsx/dom): simplify ref cleanup condition * refactor(jsx/dom): simplify ref cleanup check in applyProps * test(jsx/dom): add test for ref cleanup on ref prop removal ---------
authored by ADITYA KUMAR JHA · committed by GitHub · parent 7967760 · Browse files · 2 files+81 added−0 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Trailers
- Co-authored-by: Taku Amano <taku@taaas.jp>
Diff stats
2 files+81 added−0 removed
- tests:+79 added−0 removed
- other:+2 added−0 removed