Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 41882b1

Browse files
committed
Bump React, Gatsby, and regenerate yarn.lock
When attempting to run the website in development, after making no changes, I was greeted with the following error message: > The above error occurred in the <StoreStateProvider> component: > in StoreStateProvider > in App After some digging, I dsocvered I needed to update React, React DOM, and Gatsby. See: gatsbyjs/gatsby#19827 Then after resolving the above issue, I found this error message when actually viewing the development server: > Error: React-Hot-Loader: AppContainer should be patched See: gatsbyjs/gatsby#26979
1 parent ae9302b commit 41882b1

File tree

2 files changed

+2584
-2896
lines changed

2 files changed

+2584
-2896
lines changed

package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"@types/mdx-js__react": "^1.5.3",
2323
"@types/react-helmet": "^6.0.0",
2424
"@types/rellax": "^1.7.3",
25-
"gatsby": "^2.24.53",
25+
"gatsby": "^2.27.3",
2626
"gatsby-image": "^2.4.20",
2727
"gatsby-plugin-catch-links": "^2.3.11",
2828
"gatsby-plugin-manifest": "^2.4.21",
@@ -38,8 +38,8 @@
3838
"gatsby-transformer-sharp": "^2.5.16",
3939
"modern-normalize": "^1.0.0",
4040
"prismjs": "^1.22.0",
41-
"react": "^16.12.0",
42-
"react-dom": "^16.12.0",
41+
"react": "^17.0.1",
42+
"react-dom": "^17.0.1",
4343
"react-feather": "^2.0.8",
4444
"react-helmet": "^6.1.0",
4545
"react-rellax-wrapper": "^1.0.5",

0 commit comments

Comments
 (0)