Skip to content

Prevent memory leak on unmount

Compare
Choose a tag to compare
@roderickhsiao roderickhsiao released this 29 Jul 23:56
· 62 commits to main since this release

React ref is mutable, which might cause issue that the ref has been set to null after unmount, but intersection observer are not removed.