Skip to content

feat(frameworks): Lit and Alpine hydration adapters#34

Merged
SutuSebastian merged 8 commits into
mainfrom
feat/lit-alpine-frameworks
Jul 20, 2026
Merged

feat(frameworks): Lit and Alpine hydration adapters#34
SutuSebastian merged 8 commits into
mainfrom
feat/lit-alpine-frameworks

Conversation

@SutuSebastian

Copy link
Copy Markdown
Contributor

Summary

  • Add ./frameworks/lit (HydrationController over HydrationSignal) and ./frameworks/alpine (useHydrated + persist plugin / $hydrated).
  • Wire exports/peers/docs/changesets; align framework listing order (react → preact → solid → angular → vue → lit → alpine → svelte); retire ROI chore: version packages #8.
  • Harden Lit attach snapshot (requestUpdate on connect) and Alpine teardown/Alpine.reactive coverage.

Test plan

  • bun test src/adapters/frameworks/lit.test.ts src/adapters/frameworks/alpine.test.ts
  • bun run typecheck && bun run build
  • Confirm ./frameworks/lit and ./frameworks/alpine in package exports / entry-points / API nav
  • Skim hydration guide Lit + Alpine snippets

RequestUpdate when already hydrated on connect; align homepage and
hydration guide with docs-voice framework order; retire ROI #8.
react → preact → solid → angular → vue → lit → alpine → svelte.
Always requestUpdate on hostConnected; reorder listings/exports to
react→preact→solid→angular→vue→lit→alpine→svelte; pin Alpine.reactive.
Slim JSDoc and framework-adapter lead; align Alpine warn prefix with
other adapters; shorten changesets.
@SutuSebastian SutuSebastian added the docs Public docs site (apps/docs) — merge deploys /persist via FTP label Jul 20, 2026
@changeset-bot

changeset-bot Bot commented Jul 20, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 5c9b5fa

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@stainless-code/persist Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@coderabbitai

coderabbitai Bot commented Jul 20, 2026

Copy link
Copy Markdown

Warning

Review limit reached

@SutuSebastian, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 37 minutes

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: e7ebabc6-1bee-4004-bf36-828fdcab63bc

📥 Commits

Reviewing files that changed from the base of the PR and between f7d4abc and 5c9b5fa.

⛔ Files ignored due to path filters (1)
  • bun.lock is excluded by !**/*.lock
📒 Files selected for processing (22)
  • .agents/skills/docs-voice/SKILL.md
  • .changeset/alpine-framework-adapter.md
  • .changeset/lit-framework-adapter.md
  • README.md
  • apps/docs/content/adapters/framework-adapter.mdx
  • apps/docs/content/concepts/entry-points.mdx
  • apps/docs/content/guides/hydration.mdx
  • apps/docs/content/reference/api/index.mdx
  • apps/docs/content/reference/api/meta.ts
  • apps/docs/pages/_home/Batteries.astro
  • apps/docs/pages/_home/Seams.astro
  • apps/docs/pages/_home/UseCases.astro
  • docs/architecture.md
  • docs/plans/remaining-roi.md
  • docs/roadmap.md
  • package.json
  • src/adapters/frameworks/alpine.test.ts
  • src/adapters/frameworks/alpine.ts
  • src/adapters/frameworks/lit.test.ts
  • src/adapters/frameworks/lit.ts
  • tsdown.config.ts
  • typedoc.json
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feat/lit-alpine-frameworks

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

Adapter uses a structural AlpineLike — alpinejs ships no types, so
the peer never appears as an import.
Replace the hand-rolled AlpineLike with Pick from alpinejs typings so
knip sees the peer, and drop the alpinejs ignoreDependency workaround.
@SutuSebastian
SutuSebastian merged commit 470ef1d into main Jul 20, 2026
14 of 15 checks passed
@SutuSebastian
SutuSebastian deleted the feat/lit-alpine-frameworks branch July 20, 2026 20:38
@github-actions github-actions Bot mentioned this pull request Jul 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Public docs site (apps/docs) — merge deploys /persist via FTP

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant