lit / lit/lit.dev

SSR interactive playgrounds

Open
#373 0 comments 1 reaction 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

Non-interactive code snippets are already pre-rendered, but interactive ones currently require loading all of playground. We should SSR the interactive ones too. Also consider how to do this using @lit/ssr as opposed to a completely bespoke Eleventy integration.

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 by tracing how interactive playgrounds are rendered and loaded in the Lit website, then compare an @lit/ssr approach with the existing Eleventy integration. Done means interactive playgrounds are server-rendered without requiring all of the playground code to load, with the chosen integration approach documented or reflected in the implementation.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend, web-dev
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.