Project

General

Profile

Actions

Task #102308

closed

Migrate icon-element to @lit/task

Added by Benjamin Franzke about 1 year ago. Updated 10 months ago.

Status:
Closed
Priority:
Should have
Category:
Backend JavaScript
Start date:
2023-11-03
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
12
PHP Version:
Tags:
Complexity:
Sprint Focus:

Description

@lit/task graduated from a 2-year @lit-labs phase, to an officially
supported helper library for lit elements. We want to start using it
as it embraces a tri-state model for async operations:

  • pending
  • success
  • error

…which is important in order to always handle error cases instead of
silently ignoring them. Also existing or currently running requests are
aborted and/or ignored when a newer state has already been activated.

Actions

Also available in: Atom PDF