How to update solid-start
?
#1350
-
How to migrate from old versions to the latest version of |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
There isn't a particular migration guide. At this point, there are 2 breaking-changes you need to be aware of.
The thing is, the data loading methods that were present in SolidStart are gone and favor of the new ones that were added in Solid-Router. You can get around with
When migrating to current Solid-Router you should:
Warning if you're using |
Beta Was this translation helpful? Give feedback.
There isn't a particular migration guide.
At this point, there are 2 breaking-changes you need to be aware of.
The thing is, the data loading methods that were present in SolidStart are gone and favor of the new ones that were added in Solid-Router. You can get around with
createResource
on your first step migration. So, I wouldn't recommend you take too long before updating Solid-Router. Though it is possible to do them as 2 separate steps.$
in SolidStart with something present in Solid-Router or Solid core.vite.config.js
withapp.config.js
(this is simply inverts some declarations, as in:start:{}
is root-level…