Skip to content
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

Web component: handle async operations with built in Lit Task #320

Open
1 task
agjohnson opened this issue Mar 27, 2024 · 0 comments
Open
1 task

Web component: handle async operations with built in Lit Task #320

agjohnson opened this issue Mar 27, 2024 · 0 comments
Labels
Accepted Accepted issue on our roadmap Improvement Minor improvement to code Needed: design decision A core team decision is required

Comments

@agjohnson
Copy link
Contributor

In #300 I manually handled an async web request to our API, but I did almost use the Lit Task API to handle all of the async and error handling. I decided to put this off for a bit, while we are still figuring out web components here.

Maybe this is more refactor level work, or we might just take on the dependency early if we feel we'll definitely switch.

This list will grow if we continue to manually implement async task handling in Lit elements, but for now, the places where this pattern could be applied are:

  • Notificaiton elements
@agjohnson agjohnson added Improvement Minor improvement to code Accepted Accepted issue on our roadmap Needed: design decision A core team decision is required labels Mar 27, 2024
@agjohnson agjohnson added this to the Deprecation and cleanup milestone Mar 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Accepted Accepted issue on our roadmap Improvement Minor improvement to code Needed: design decision A core team decision is required
Projects
None yet
Development

No branches or pull requests

1 participant