Skip to content

Commit

Permalink
Add working upgrade guide (Shopify#179)
Browse files Browse the repository at this point in the history
* add-migration-guide

* Update upgrading-from-v1-to-v2.md
  • Loading branch information
cartogram authored Nov 9, 2022
1 parent af5e50a commit 38defa5
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions docs/upgrade-guides/upgrading-from-v1-to-v2.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# Migrating from Hydrogen v1 to Hydrogen v2

## Table of contents

- Upgrade dependencies
- `hydrogen.config` to `remix.config`
- `App.server` to `root`
- `entry.server` and `entry.client`
- Routes
- Fetching data using `loader`s
- The context `storefront` object
- Caching data fetches
- Performing mutations using `action`s
- Remove `Head` tags
- Cart
- Account
- Search engine optimization
- Analytics
- Internationalization
- Mutation components
- Image component

0 comments on commit 38defa5

Please sign in to comment.