🎅🎄🎁 ADVENT OF SVELTE 🎅🎄🎁 We're going to ship one thing a day every day from now until Christmas. Wish us luck!
svelte.dev/blog/advent-of… Day 1 — error boundaries! Wrap your code in a <svelte:boundary> and you can isolate and recover from unexpected errors. 🎁 docs svelte.dev/docs/svelte/sv…🎁 tutorial svelte.dev/tutorial/svelt…
Day 2 — `each` without `as`, for when you just want lots of one thing - docs svelte.dev/docs/svelte/ea… - demo svelte.dev/playground/e7e…
@sveltejs No more UIs freezing due to runtime errors – about time!
@sveltejs This is great, similar to React's Error boundary implementation.
@sveltejs @Sikandar_Bhide finally error boundary simple wala mil gaya 😭🥴
@sveltejs Apology for being pedantic, but neither here nor in the docs you say what “error” actually is? Is this an exception being thrown? A Promise rejected? A variable “error” being true? Conceptual error? Invalid input by the user? Error in developer DNA? :)