3 ms·
This reminds me of the recent SvelteKit Remote Functions GH discussion: > Even in systems that prevent server functions from being declared in client code (suc
by division_by_0 10mo ago
This reminds me of the recent SvelteKit Remote Functions GH discussion:
> Even in systems that prevent server functions from being declared in client code (such as "use server" in React Server Components), experienced developers can be caught out. We prefer a design that emphasises the public nature of remote functions rather than the fact that they run on the server, and avoids any confusion around lexical scope. [0]
[0] https://github.com/sveltejs/kit/discussions/13897 https://github.com/sveltejs/kit/discussions/13897