From b3cfd3dd802b09d3808799411aca2d9a2004438d Mon Sep 17 00:00:00 2001 From: Mees van der Wijk Date: Tue, 29 Apr 2025 18:55:52 +0200 Subject: [PATCH] Added more principals --- ImportantPrincipals.md | 1 + 1 file changed, 1 insertion(+) diff --git a/ImportantPrincipals.md b/ImportantPrincipals.md index 848e710..c4a01ef 100644 --- a/ImportantPrincipals.md +++ b/ImportantPrincipals.md @@ -11,3 +11,4 @@ When creating the client side of a module there are some really important things - 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. +- Use api.getTime() for any time calculations, this time is synced with the server.