lit / lit/lit.dev

JavaScript Context Docs / Examples

Open
#1,327 1 comment 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

I couldn't find any docs/examples of using lit context with modern JavaScript. All the docs are Typescript. Where can I find JavaScript examples? Thanks.

https://lit.dev/docs/data/context/

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 linked context documentation at lit.dev/docs/data/context/ and review its existing TypeScript examples. Add equivalent modern JavaScript examples where the current documentation lacks them, and consider the work done when readers can find usable JavaScript context examples alongside the TypeScript material.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.