Replies: 2 comments 3 replies
-
Hi @iska31, we have created a step by step guide on how to migrate to v2 here. Hope this helps. If you are also fetching from 3rd party APIs, you might want to check this explanation too. |
Beta Was this translation helpful? Give feedback.
3 replies
-
We will be improving all our guides and release more detailed examples in the near future. Thanks for your feedback 🙏🏼 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi there,
I'm getting the tech lead of a new project, set on
"@shopify/hydrogen": "^1.2.0",
.Is there any way to progressively migrate to the V2 ? I do have 177 files to refactor as they are using the hooks logic (https://github.com/Shopify/hydrogen-v1/tree/v1.x-2022-07/docs) that we could get from the
"@shopify/hydrogen": "^1.2.0",
. Using "@shopify/hydrogen": "^2023.1.3", all the hooks are not usable anymore.In addition to that I had to remove the
"@shopify/shopify-api": "^5.0.1",
and all the logic usingShopify.client.Graphlql()
as those where causing build errors cause of@mapbox
dependency.Any idea on how to smoothly handle the migration ? Is there any way to make those hooks accessible within the V2?
Regards
Beta Was this translation helpful? Give feedback.
All reactions