Skip to content
Source
Sign inSign up
TanStack/ai

Migrate the Solid packages to solid-js 2.0 #100008

Send to my agent
Opentombeckenham opened this issue 0 comments
tombeckenhamcommented

solid-js 2.0 is now latest on npm. The workspace stays on 1.9.x until the Solid packages are migrated.

Who uses solid-js

  • @tanstack/ai-solid (useChat and the other hooks)
  • @tanstack/ai-devtools-core (the devtools UI is written in Solid)
  • @tanstack/solid-ai-devtools
  • examples/ts-solid-chat
  • testing/e2e

To do

  1. Read the Solid 2.0 migration guide. Note the changes that touch the hooks in @tanstack/ai-solid and the devtools UI.
  2. Decide on the peer range for @tanstack/ai-solid: support 1.x and 2.x, or only 2.x (a breaking change).
  3. Check that @tanstack/solid-start, @tanstack/solid-router and the other Solid dependencies support 2.0 first.
  4. Migrate, update the Solid docs and the example, and add a changeset.

@tanstack/ai-devtools-core is used by the React, Preact, Svelte and Solid devtools packages. It needs testing in all of them, not only Solid.

Found during the all-dependencies update on chore/renovate-all-deps.

Sign in to join this conversation.