Austin Gil @austingil.com · Dec 24

The design decision by @svelte.dev Kit to provide tools for early termination of route execution by calling `error()` or `redirect()` is awesome! That any code does not continue to execute after these functions are called makes it much more idiomatic and safe to write route handlers I <3 Svelte :)

8 likes 2 replies

?

Replies

Scott Wu · Dec 25

Wait until you find out what remote functions can do.

Austin Gil · Dec 24

It means I can write code like this without worrying about rogue inserts or uncaught exceptions