From 65b725c310a2f3f95e97e2731856b1f16d93da96 Mon Sep 17 00:00:00 2001 From: Caleb Hearon Date: Tue, 5 Jul 2022 19:05:04 -0400 Subject: [PATCH] fix(hooks): add renderTracked/Triggered merge strategy `callHook` expects $options[hook] to be an array --- src/shared/constants.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/shared/constants.ts b/src/shared/constants.ts index 990bfcb49be..660c4d90519 100644 --- a/src/shared/constants.ts +++ b/src/shared/constants.ts @@ -14,5 +14,7 @@ export const LIFECYCLE_HOOKS = [ 'activated', 'deactivated', 'errorCaptured', - 'serverPrefetch' + 'serverPrefetch', + 'renderTracked', + 'renderTriggered' ] as const