Dominic Gannaway

Results 34 issues of Dominic Gannaway

I'm wondering if this is a good direction in helping developers find swallowed silently in their await blocks. Helps alleviate the pain in https://github.com/sveltejs/svelte/issues/13817

Fixes https://github.com/sveltejs/svelte/issues/13852. We needed to pass through `is_text` like we do in other traversal operations for hydration to properly capture the empty text node.

Fixes https://github.com/sveltejs/svelte/issues/13926. This is a tricky one to write a test for, so bare with me on that one.

This PR changes the ordering of event handlers, bindings and actions so they're now created in order of usage – which means that they fall in line with the logic...

Fixes https://github.com/sveltejs/svelte/issues/13848. When we set custom element attributes/props, we should be doing so without the current effect/reaction active. Otherwise, the custom element lifecycle might attach effects/dependencies to the wrong reaction...

This PR adds support for error boundaries to Svelte. Specifically, it adds ``, which is a special element that can capture errors that occur from within its subtree during client...

Would be great if `$inspect` could tell you the dependencies of an effect or a derived. Maybe it's possible?

Seems like we missed this validation for these special Svelte elements, but have it on the others.

Currently WIP Closes https://github.com/sveltejs/svelte/issues/14265.

Closes https://github.com/sveltejs/svelte/issues/10350. Had to add a hacky bit of logic to prevent Acorn from complaining about bad identifiers being in the script `exports`.