Repository navigation
The Solid grid runs on Solid 2 - #120
Merged
Merged
Conversation
@surefold/grid-solid, the grid's page and the Solid cookbook move from Solid 1.9 to Solid 2.0. Solid's Vite plugin for 2.0 needs Vite 8, so the three web workspaces move from Vite 6 to 8, and the React plugin with it. - grid-solid: effects are split into what they read and what they do, and its peers are solid-js and @solidjs/web 2.0. The signals may be set while a component is being made. - The page: onSettled for onMount, class lists for classList, and the chart asks the table, not a signal set a moment before. - Recipes: nothing sets a signal or reads a prop as a component is made. - Vite 8 has no esbuild options; the configs use import.meta.dirname. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
@surefold/grid-solid now needs Solid 2, which breaks its Solid 1 users, so it takes a new version. The three packages publish together at one version, so @surefold/grid and @surefold/grid-react move with it. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
@surefold/grid-solid, the grid's page and the Solid cookbook move from Solid 1.9 to Solid 2.0.3.What changed
solid-js2 and@solidjs/web;vite-plugin-solidis replaced by@solidjs/vite-plugin3, which needs Vite 8, so the three web workspaces move from Vite 6 to 8 and@vitejs/plugin-reactfrom 4 to 6. The lockfile is regenerated.@surefold/grid-solid. Effects are split into what they read and what they do (on()is gone). Peers are nowsolid-jsand@solidjs/web^2.0.0. The signals takeownedWrite, so a table changed while a component is being made does not throw.onSettledforonMount,class={[…]}forclassList, andflush()where code reads a signal it has just set. The chart asks the table for its columns and grouping rather than signals.Charts,FromAnApiandInAWorkerno longer set a signal or read a prop while a component is made.esbuildoptions Vite 8 dropped are removed;__dirnamebecomesimport.meta.dirname.Checked
npm run checkandweb/build.shpass.cookbook.spec.tsandpages.spec.ts: 38 of 38 pass, Solid and React.Not confirmed locally: the
oneditanddecimalfixture tests. They ran against an installed Chrome, which asks for/favicon.icoand trips their console-error check; CI's own browser should not.To decide
grid-v0.6.0tag is pushed.createTotal(props.table, …)inside a component now gets Solid's warning about reading a prop as a component is made. The worker recipe avoids it with a plain function; taking an accessor in the hooks would be the fuller answer.🤖 Generated with Claude Code