lit / lit/lit.dev

Controllers documentation uses deprecated lit labs types

Open
#1,359 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
142
Forks
230
PR merge metrics
No merged PRs in 30d

Description

The `names-controller` [imports the following types](https://lit.dev/docs/composition/controllers/).

```
import {initialState, StatusRenderer, Task} from '@lit-labs/task';
```

And these are marked as deprecated.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the controllers documentation page linked in the issue and inspect the example importing initialState, StatusRenderer, and Task from @lit-labs/task. Check the current non-deprecated API before editing the example; it is done when the documentation no longer presents deprecated Lit Labs types.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
documentation
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.