Skip to content

Async Tasks docs don't explain what happens if state callbacks are omitted #1463

@caugner

Description

@caugner

See: https://lit.dev/docs/data/task/#rendering-tasks

The page lists the state callbacks, but doesn't explain what happens if a state callback is omitted.

In particular, when the same rendering is desired for initial and pending state, do both state callbacks need to be defined? And what happens if a callback is omitted.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions