Skip to content

Commit

Permalink
Demonstrate fix by updating to PR version of React
Browse files Browse the repository at this point in the history
Not for merge.

Updated package.json to point `react` and `react-dom` to PR that includes
a bugfix: facebook/react#26317

Now when you run the tests, the second test no longer hangs.
  • Loading branch information
acdlite committed Mar 6, 2023
1 parent e7f608e commit 5e0b0cd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
"jest": "^29.4.3",
"jest-environment-jsdom": "^29.4.3",
"parcel": "^2.8.3",
"react": "^18.3.0-next-b72ed698f-20230303",
"react-dom": "^18.3.0-next-b72ed698f-20230303",
"react": "https://react-builds.vercel.app/api/prs/26317/packages/react",
"react-dom": "https://react-builds.vercel.app/api/prs/26317/packages/react-dom",
"suspense": "^0.0.12"
}
}

0 comments on commit 5e0b0cd

Please sign in to comment.