Skip to content

How to update solid-start? #1350

Answered by atilafassina
PeronGH asked this question in Q&A
Discussion options

You must be logged in to vote

There isn't a particular migration guide.

At this point, there are 2 breaking-changes you need to be aware of.

  • Solid-Router 0.9 to 0.10
  • SolidStart

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.

  • Replace every method with $ in SolidStart with something present in Solid-Router or Solid core.
  • Replace vite.config.js with app.config.js (this is simply inverts some declarations, as in: start:{} is root-level…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by atilafassina
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants