-
Notifications
You must be signed in to change notification settings - Fork 7
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
Review Svelte API #4
Comments
One big question for me is error handling. @cabreraalex should we catch errors and provide a handler or just let error bubble up? For example in
|
Does it use promises? There is built-in error handling for async calls: https://svelte.dev/tutorial/await-blocks |
I guess there's no de-facto way to do real try blocks: sveltejs/svelte#3733 |
LGTM, two thoughts:
|
We have a Vega-Embed component. The advantage of Vega/Vega-Lite components is that they set the The advantage of a pure Vega component could be that we skip the Vega-Lite import (not sure whether we are doing that right now but we could). |
I'm surprised there is no proper/standard error handling in Svelte. If you think what we have is okay for now, let's release. |
Go for it! |
No description provided.
The text was updated successfully, but these errors were encountered: