Snippets Collections
# A memory leak can occur in your application when an element is no longer attached to the Document Object Model (DOM) tree, but is still referenced by some JavaScript running on the page. These elements are called detached elements.
 a reference to an object will prevent the object referenced from being garbage collected.
 # window leaks
 variables set on the window do not get collected
 - windwo.myvar = 'whatever'

Sat Feb 19 2022 13:02:25 GMT+0000 (UTC)

#react #testing #performance

Fri Oct 22 2021 20:58:23 GMT+0000 (UTC)

#enqueue #scripts #performance

Thu Jul 29 2021 16:13:09 GMT+0000 (UTC)

#rust #performance

Save snippets that work with our extensions

Available in the Chrome Web Store Get Firefox Add-on Get VS Code extension