-
Notifications
You must be signed in to change notification settings - Fork 325
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update React experimental version (#758)
* Update to latest React 18 experimental * Update RSC Vite plugin * Remove old React patches * Update streaming logic to latest experimental * Latest and greatest React 18 experimental * Fix suspense boundary update in Router * Add more suspense boundaries to fix hydration * Fix Jest warnings in latest React 18 experimental * Downgrade React experimental version to fix CFW deployment * Update to latest React and update APIs * Update RSC Vite plugin from upstream * Change the order of getting RSC/SSR context * Remove unused Fizz fix * Skip this flakey test, which is going to be removed soon anyway * Add changeset Co-authored-by: Josh Larson <josh.larson@shopify.com>
- Loading branch information
Showing
25 changed files
with
6,430 additions
and
1,383 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
--- | ||
'@shopify/hydrogen': patch | ||
'create-hydrogen-app': patch | ||
--- | ||
|
||
Upgrade to React experimental version `0.0.0-experimental-2bf7c02f0-20220314`. | ||
|
||
To upgrade your Hydrogen app, change the pinned version of `react` and `react-dom` in your `package.json` file to this version, or run: | ||
|
||
```bash | ||
yarn add @shopify/hydrogen react@0.0.0-experimental-2bf7c02f0-20220314 react-dom@0.0.0-experimental-2bf7c02f0-20220314 | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.