-
-
Notifications
You must be signed in to change notification settings - Fork 4.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
await-then-catch #952
await-then-catch #952
Conversation
Codecov Report
@@ Coverage Diff @@
## master #952 +/- ##
==========================================
+ Coverage 91.78% 91.84% +0.05%
==========================================
Files 110 112 +2
Lines 3980 4107 +127
Branches 1304 1332 +28
==========================================
+ Hits 3653 3772 +119
- Misses 142 143 +1
- Partials 185 192 +7
Continue to review full report at Codecov.
|
I think this is just about ready, if anyone is curious to take a look. There's room for improvements — some opportunities for DRYing out, etc — but the functionality is there. Not covered in this PR:
|
Tried to read the code, but I don't know the innards of Svelte well enough. I'm using this branch and it works as expected and is super helpful! Merge ASAP :) Edit: I found I got these errors when trying to use two
|
Good catch, thanks — it was using the wrong variable to use when mounting, which meant it tried to attach itself to a not-yet-existent DOM node |
sync kit docs Co-authored-by: Rich-Harris <[email protected]>
Ref #654. So far, this just teaches the parser how to deal with
{{#await ...}}
and friends.