Skip to content

Commit 97786d8

Browse files
committed
Update demo react to 18.2.0 & react-scripts to 5.0.1
Fixes StackBlitz 'dispatcher is null' error.
1 parent b27cecb commit 97786d8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

examples/parent-child-demo/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@
88
"start": "echo \"Error: This dummy package.json is only for StackBlitz deployment. Use top-level package.json instead.\" && exit 1"
99
},
1010
"devDependencies": {
11-
"react-scripts": "^4.0.3"
11+
"react-scripts": "^5.0.1"
1212
},
1313
"dependencies": {
14-
"react": "^17.0.2",
15-
"react-dom": "^17.0.2",
14+
"react": "^18.2.0",
15+
"react-dom": "^18.2.0",
1616
"react-hot-loader": "^4.13.0",
1717
"react-lifecycle-visualizer": "3.0.1"
1818
}

0 commit comments

Comments
 (0)