Mark an object as server only?
Is there a way to mark an object/function/variable as server only? E.g
const SUPER_SEGRET_OBJ = something; in the global scope.2 Replies
equal-aqua•2mo ago
yes
const s = createServerOnlyFn(() => ...)()
frail-apricotOP•2mo ago
right
@notKamui thanks 🙏