Skip to content

feat: add SolidJS example#104

Open
mliem2k wants to merge 1 commit into
vercel-labs:mainfrom
mliem2k:feat/solid-example
Open

feat: add SolidJS example#104
mliem2k wants to merge 1 commit into
vercel-labs:mainfrom
mliem2k:feat/solid-example

Conversation

@mliem2k

@mliem2k mliem2k commented Jul 10, 2026

Copy link
Copy Markdown

Summary

  • Adds examples/solid, mirroring the existing React/Vue/Svelte example shape: app.zon, hand-owned build.zig/build.zig.zon, native dev/run/test, and a Vite dev server on 127.0.0.1:5173.
  • Frontend uses createSignal/onMount and solid-js/web's render(), the standard Solid + Vite pattern (vite-plugin-solid).
  • Wired into zig build test-examples-frontends (new test-example-solid step + positioning check) and documented in examples/README.md and docs/src/app/frontend/page.mdx.
  • Added a changelog fragment per CONTRIBUTING.md.
  • Scoped to a standalone example, not a native init --frontend solid CLI template. That would additionally touch the Frontend enum and every write* function in src/tooling/templates.zig, a larger change; happy to follow up if maintainers want full CLI parity.

Closes #57

Test plan

  • zig build test-example-solid passes
  • zig build test-examples-frontends passes (includes the new positioning check)
  • Full zig build test passes (exit 0)
  • bun install && bun run build in examples/solid/frontend builds cleanly
  • Served the production build and inspected the bundled output; standard Solid reactive-core output present, no build-time errors

Copilot AI review requested due to automatic review settings July 10, 2026 20:47
@vercel

vercel Bot commented Jul 10, 2026

Copy link
Copy Markdown

@mliem2k is attempting to deploy a commit to the Vercel Labs Team on Vercel.

A member of the Team first needs to authorize it.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@socket-security

socket-security Bot commented Jul 10, 2026

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Addednpm/​vite-plugin-solid@​2.11.129910010088100
Addednpm/​solid-js@​1.9.1410010010094100

View full report

Add examples/solid, mirroring the existing React/Vue/Svelte example
shape (app.zon, hand-owned build.zig, Vite dev server, native
dev/run/test) with a SolidJS frontend using createSignal/onMount and
solid-js/web's render(). Wired into zig build test-examples-frontends
and documented in examples/README.md and the frontend docs page.

Closes vercel-labs#57
@mliem2k mliem2k force-pushed the feat/solid-example branch from 64f0d5e to 0e583a7 Compare July 12, 2026 15:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

SolidJS support

2 participants