All files / lib/core/runtime lifecycleHooks.js

100% Statements 18/18
100% Branches 1/1
100% Functions 0/0
100% Lines 18/18

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19628x 628x 628x 628x 628x 628x 628x 628x 628x 628x 628x 628x 628x 628x 628x 628x 628x 628x  
/**
 * Lifecycle actions invoked by the runtime rather than by application code.
 * Shared with compiler reachability analysis so supported hooks do not warn.
 * @type {string[]}
 */
export const LIFECYCLE_HOOK_KEYS = [
  'onBeforeMount',
  'onMount',
  'onBeforeUpdate',
  'onUpdate',
  'onUnmount',
  'onActivate',
  'onDeactivate',
  'onErrorCaptured',
  'onEnter',
  'onBeforeLeave',
  'onLeave',
];