From a701168ab1cdf6e72f7e2887128bc800486358e7 Mon Sep 17 00:00:00 2001 From: thepaperpilot Date: Thu, 7 Jul 2022 23:16:11 -0500 Subject: [PATCH] Fix processed JSXFunctions not being considered coercable components --- src/util/computed.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/util/computed.ts b/src/util/computed.ts index d9b3458..7ee0930 100644 --- a/src/util/computed.ts +++ b/src/util/computed.ts @@ -39,6 +39,8 @@ export function processComputable>( obj[key] = computed(computable.bind(obj)); } else if (isFunction(computable)) { obj[key] = computable.bind(obj); + // eslint-disable-next-line @typescript-eslint/no-explicit-any + (obj[key] as any)[DoNotCache] = true; } }