Include example of map directive on the Lists page
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 142
- Forks
- 230
- PR merge metrics
- No merged PRs in 30d
Description
Ran into a situation today where I was trying to figure out how to work with rendering values in a `Set` by looking at https://lit.dev/docs/templates/lists/ but was not able to find the answer I was ultimately looking for which was the [map directive](https://lit.dev/docs/templates/directives/#map)
By including additional examples on the Working with Lists page to include this it will hopefully help others avoid running into the same issue.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the Working with Lists page at https://lit.dev/docs/templates/lists/ and compare it with the linked map directive documentation. Add an example showing how to render values from a Set with the map directive, then verify that the Lists page clearly explains this use case.
Written by the indexing model from the issue text.
Assessment
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 35/100