From 12a66834c6195ed861e7a278d7a976d1c2dde536 Mon Sep 17 00:00:00 2001 From: Mees van der Wijk Date: Tue, 29 Apr 2025 18:47:00 +0200 Subject: [PATCH] Updated principals --- ImportantPrincipals.md | 1 + 1 file changed, 1 insertion(+) diff --git a/ImportantPrincipals.md b/ImportantPrincipals.md index 5652008..848e710 100644 --- a/ImportantPrincipals.md +++ b/ImportantPrincipals.md @@ -10,3 +10,4 @@ When creating the client side of a module there are some really important things - Never style global elements like body, html, head, p, h1 etc.... - Try to avoid using element ids as references as there can be multiple instances of a module at the same time. - You do not need to specify +- When using reference properties try to use api.onPropertyUpdate as much as possible. This way it also get's live updates from the editor. Try to avoid sending them from the server side as much as possible.