Skip to content

Instantly share code, notes, and snippets.

@selvagsz
Created February 26, 2018 09:04
Show Gist options
  • Save selvagsz/a28fe14fa812a9ee6eeff4b1b8e8e46a to your computer and use it in GitHub Desktop.
Save selvagsz/a28fe14fa812a9ee6eeff4b1b8e8e46a to your computer and use it in GitHub Desktop.
  1. Leaking instance state into Klasses
  2. Improper setup/teardown of the event listeners
  3. Stashing state in global or module scopes
  4. Saving non-primitive property of controllers to non-singleton objects
  5. Failing to destroy the third party widgets when the component is unmounted
  6. Closure leaks
    • setInterval
  7. Saving non-singletons components into singletons controllers/services
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment