solid-playground
Quickly discover what the solid compiler will generate from your JSX template
by solidjsTypeScript
Commit activity
Last 12 weeks · 28 commits
Community health
4 of 6 standards met
Recent PRs & issues
Small embeds of the REPL, like the ones on SolidBase docs sites, have a few layout problems. This fixes them in . It's independent of #208. Problems DevTools takes half the preview and opens on Elements, so in a ~32rem embed both the page and DevTools are cramped. The Output tab's compile-mode form (four radios and a module-name input) sits under the compiled code at a fixed size. In a narrow panel it leaves only a couple of lines of code. Native form controls render dark in light theme. Dockview's theme sets , so unselected radios show as filled dark dots, and inputs and scrollbars are dark too. Text sits high in the tab labels and form fields. The bundled Gordita font declares an ascent (754) smaller than its cap height (783). Changes DevTools starts at a third of the preview panel, still resizable and collapsible (100px minimum), and opens on Console using the DevTools frontend's parameter, which the pinned Chii frontend supports. Output's compile mode is a labelled `color-schemedark!important@font-facesolid-repldevtools` after mount without a remount isn't included, since removing the panel also needs the DevTools iframe session cleaned up. — Claude (Opus 5.5), posting on behalf of @devagrawal09*
Problem SolidBase changes its REPL from stacked to side by side in full screen. Since solid-repl only reads vertical at mount, it currently remounts the whole REPL. This resets preview state, tabs, editor undo/cursor, and the per-instance TypeScript worker. Change Watch vertical with a Solid 2 split effect and leave the initial restored layout untouched. Use the inherited public BaseGrid.updateOptions orientation option on the existing Dockview component. Dockview transposes its grid and scales pane sizes rather than recreating panels. Schedule the existing throttled layout save explicitly: Dockview does not emit onDidLayoutChange for this update. Include a patch changeset. Iframe result The preview survives. Dockview 8.7.x rebuilds/reparents group shells, but Preview already uses renderer: always, whose overlay stays attached outside the grid. In Chromium, five switches in each of a standalone Solid 2 Vite harness and a scratch SolidBase f714dd7 copy kept the same iframe and contentWindow, a window marker, timeOrigin, and counter value (2). There were zero iframe load events or DOM detachments. No Dockview/runtime patch is needed. Verification Package build, TypeScript, type-aware oxlint, and oxfmt --check pass. The repository has no existing tests; none were added. Packed local build tested in both apps: editor content, selection, undo, extra tabs, and workers survive; live worker counts stay at 3 and 8 respectively. An intentional TypeScript squiggle stays visible across switches. Screenshots checked for both layouts. Switches complete within two animation frames, not seconds. Dragged divider: saved layouts update on every switch. Dockview retains roughly the resized ratio, with about 1 percentage point of built-in gap/rounding drift per round trip (371:377 -> 562:556 -> 379:369). Known Chii DOMNode console noise occurs in the SolidBase devtools example; no new REPL errors observed. Scope: Chromium desktop only. Other browsers, mobile breakpoint changes, custom non-always preview renderers, and arbitrary nested/floating layouts are not exhaustively tested. Same-window moveTo/moveGroupOrPanel should also retain the always overlay per Dockview's source, but add unnecessary layout surgery; fromJSON without panel reuse/remounting recreates panels. — Claude (Opus 5.5), posting on behalf of @devagrawal09*
Recent fixes
and the playground vendor SVG path data from Heroicons (MIT). The MIT licence requires the copyright and permission notice to ship with the copies, and it currently doesn't. Change with the Heroicons notice, added to the package's so it's published. The playground serves the same notice as . A one-line comment in both icon modules points to it. Patch changeset for . Verification The packed now contains the notice (149 files, up from 148), and the playground build serves it. Build, tsc, oxlint and oxfmt pass. — Claude (Opus 5.5), posting on behalf of @devagrawal09*
The published compiler worker throws on every compile: is CommonJS and calls ; the Solid babel plugin reaches it whenever it adds imports, which is every JSX file. The tsdown library build () kept that as a runtime through rolldown's shim, which always throws in a browser. The vendored build the docs used before (from #201's head) didn't pull this helper in; the package bumps in 84513b9 did. Fix: alias to a 5-line browser shim ( plus ) in . The other Node stubs already live there, and both the tsdown build and the playground's Vite config use those aliases. Checked by building solid-repl on Node 24 and dropping the new into the docs tutorial (solid-docs #1670): without the patch: the page error, and Output shows nothing with it: no error, and the Output tab shows compiled code (, ) no longer contains a of . Includes a patch changeset, so merging this updates the release PR to 1.0.1. _Generated by Claude Code_
has had no release process. Its last publish was a manual 0.26.0 in April 2024. This PR copies the setup filesystem-routing uses: Changesets. records a change. Each push to runs , which opens or updates a "chore: release" PR. Merging that PR runs , which builds and runs . The private app package is neither versioned nor tagged. Trusted publishing. The workflow has and uses no ; npm authenticates the run over OIDC. pins Node 24.15.0, which the solid-repl build needs and which ships an npm new enough for OIDC. Pending changeset. A changeset for the Solid 2 REPL (0.26.0 → 1.0.0). The host now needs Solid 2, and previews default to Solid 2, with Solid 1 still available through . One-time setup on npmjs.com before the first release: go to → Settings → Trusted Publisher, choose GitHub Actions, and enter organization , repository , workflow . in already points at this repo, which provenance requires. Checked locally: passes with the updated lockfile (the only change is ). lists solid-repl at major. The solid-repl build passes on Node 24. lists 148 files from . _Generated by Claude Code_
Repository: solidjs/solid-playground. Description: Quickly discover what the solid compiler will generate from your JSX template Stars: 245, Forks: 71. Primary language: TypeScript. Languages: TypeScript (98.1%), JavaScript (1%), CSS (0.7%), HTML (0.2%). License: MIT. Homepage: https://playground.solidjs.com Topics: compiler, repl, solid-js. Latest release: solid-repl@1.0.1 (2w ago). Open PRs: 2, open issues: 21. Last activity: 2w ago. Community health: 75%. Top contributors: amoutonbrady, milomg, alexandre-mb-airweb, aquaductape, istareatscreens, birkskyum, Tommypop2, davedbase, Jutanium, trivikr and others.