Skip to content

Instantly share code, notes, and snippets.

@chrisvfritz

chrisvfritz/.md Secret

Created July 24, 2019 14:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chrisvfritz/ebd909aaf9703b56013028cee69130d8 to your computer and use it in GitHub Desktop.
Save chrisvfritz/ebd909aaf9703b56013028cee69130d8 to your computer and use it in GitHub Desktop.
  • onBeforeCreate (maybe should accept props and context arguments instead of this, for consistency with create?)
    • $createElement added (populated)
    • $options added (populated)
    • $parent added (populated)
    • $root added (populated)
    • $attrs added (populated)
    • $slots added (populated)
    • $children added (populated)
    • $vnode added (empty)
    • $refs added (empty)
  • create
  • onCreated
    • props added (populated)
    • state added (populated)
  • watch (immediate)
  • onMounted
    • $vnode populated
    • $refs populated
  • watch (lazy)
  • onBeforeUnmount
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment