From a00bcea2f7805f8febc0ddb307b55e30c96f23c1 Mon Sep 17 00:00:00 2001 From: Andrew Kingston Date: Fri, 8 Nov 2024 11:05:22 +0000 Subject: [PATCH] Memoise field registration to improve performance and avoid loops --- .../src/components/app/forms/Field.svelte | 46 ++++++++++++++----- 1 file changed, 35 insertions(+), 11 deletions(-) diff --git a/packages/client/src/components/app/forms/Field.svelte b/packages/client/src/components/app/forms/Field.svelte index b2be00ca47..c9b026d7d3 100644 --- a/packages/client/src/components/app/forms/Field.svelte +++ b/packages/client/src/components/app/forms/Field.svelte @@ -1,10 +1,10 @@ {#if !formContext} -