[]previous and next page

Imports

tsconfig.json for a migrated app uses "jsx": "preserve" and "jsxImportSource": "@shadow-js/web", the same shape as Solid's.

For agentsUpdated
Solid ShadowJS
solid-js (signals, memos, effects, owners, context, resources) @shadow-js/core
solid-js/store @shadow-js/core (useStore, reconcile, produce, unwrap, snapshot); the same names are exported from @shadow-js/core/store
solid-js/web (render, hydrate, Show, For, Portal, Dynamic, Suspense, lazy, spread, insert...) @shadow-js/web
solid-js/web server half (renderToString, renderToStringAsync, renderToStream) @shadow-js/web/server
isServer, isDev from solid-js/web isServer, isDev from @shadow-js/core; @shadow-js/web re-exports both
@solidjs/router @shadow-js/router (pure matching and history in @shadow-js/router/core)
@solidjs/meta Title, Meta, Link, Style, Base, useHead from @shadow-js/web
@solidjs/start @shadow-js/dusk; see SolidStart
@solidjs/testing-library @shadow-js/testing and @shadow-js/testing/dom; see Testing
vite-plugin-solid @shadow-js/vite (shadow()), compiler in @shadow-js/compiler
solid-js/jsx-runtime, jsxImportSource: "solid-js" jsxImportSource: "@shadow-js/web"

tsconfig.json for a migrated app uses "jsx": "preserve" and "jsxImportSource": "@shadow-js/web", the same shape as Solid's. Vite config: plugins: [shadow()] where Solid had solid().