Migration checklist
Migration checklist in the Migrating from Solid and SolidStart guide.
- Install
@shadow-js/core,@shadow-js/web,@shadow-js/vite; changetsconfig.jsontojsxImportSource: "@shadow-js/web"and the Vite plugin toshadow(). - Rename imports with the table in Imports. Do the mechanical renames first (
createSignaltouseStore,createMemotouseMemo,createEffecttouseEffect,createResourcetouseResource,createStoretouseStore). - Replace
[resource, { refetch }]tuples with the single resource object. - Search for
on(,createComputed,createMutableandinnerHTML=": these need edits, not renames. - Replace store setters that return arrays built from the draft (
(todos) => todos.filter(...)) with the forms in Append and remove in a store. - Move routes from
<Route>elements todefineRouteobjects and replacecreateAsync(query(...))with loaders.