File tree Expand file tree Collapse file tree 5 files changed +13
-5
lines changed
concurrent/time-slicing/src Expand file tree Collapse file tree 5 files changed +13
-5
lines changed Original file line number Diff line number Diff line change 6
6
*/
7
7
8
8
import React from 'react' ;
9
- import { createRoot } from 'react-dom' ;
9
+ import { createRoot } from 'react-dom/client ' ;
10
10
import './index.css' ;
11
11
import Router from './Router' ;
12
12
Original file line number Diff line number Diff line change 1
1
import React , { PureComponent , unstable_startTransition } from 'react' ;
2
- import { createRoot } from 'react-dom' ;
2
+ import { createRoot } from 'react-dom/client ' ;
3
3
import _ from 'lodash' ;
4
4
import Charts from './Charts' ;
5
5
import Clock from './Clock' ;
Original file line number Diff line number Diff line change 1
1
import React from 'react' ;
2
- import { hydrateRoot } from 'react-dom' ;
2
+ import { hydrateRoot } from 'react-dom/client ' ;
3
3
4
4
import App from './components/App' ;
5
5
Original file line number Diff line number Diff line change @@ -4265,7 +4265,7 @@ longest@^1.0.1:
4265
4265
resolved "https://registry.yarnpkg.com/longest/-/longest-1.0.1.tgz#30a0b2da38f73770e8294a0d22e6625ed77d0097"
4266
4266
integrity sha1-MKCy2jj3N3DoKUoNIuZiXtd9AJc=
4267
4267
4268
- loose-envify@^1.0.0 :
4268
+ loose-envify@^1.0.0, loose-envify@^1.1.0 :
4269
4269
version "1.4.0"
4270
4270
resolved "https://registry.yarnpkg.com/loose-envify/-/loose-envify-1.4.0.tgz#71ee51fa7be4caec1a63839f7e682d8132d30caf"
4271
4271
integrity sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==
@@ -5945,6 +5945,14 @@ sax@^1.2.1, sax@~1.2.1:
5945
5945
resolved "https://registry.yarnpkg.com/sax/-/sax-1.2.4.tgz#2816234e2378bddc4e5354fab5caa895df7100d9"
5946
5946
integrity sha512-NqVDv9TpANUjFm0N8uM5GxL36UgKi9/atZw+x7YFnQ8ckwFGKrl4xX4yWtrey3UJm5nP1kUbnYgLopqWNSRhWw==
5947
5947
5948
+ scheduler@^0.20.1 :
5949
+ version "0.20.2"
5950
+ resolved "https://registry.yarnpkg.com/scheduler/-/scheduler-0.20.2.tgz#4baee39436e34aa93b4874bddcbf0fe8b8b50e91"
5951
+ integrity sha512-2eWfGgAqqWFGqtdMmcL5zCMK1U8KlXv8SQFGglL3CEtd0aDVDWgeF/YoCmvln55m5zSk3J/20hTaSBeSObsQDQ==
5952
+ dependencies :
5953
+ loose-envify "^1.1.0"
5954
+ object-assign "^4.1.1"
5955
+
5948
5956
" semver@2 || 3 || 4 || 5" , semver@^5.1.0, semver@^5.3.0:
5949
5957
version "5.7.1"
5950
5958
resolved "https://registry.yarnpkg.com/semver/-/semver-5.7.1.tgz#a954f931aeba508d307bbf069eff0c01c96116f7"
Original file line number Diff line number Diff line change 6
6
*
7
7
*/
8
8
9
- import { hydrateRoot } from 'react-dom' ;
9
+ import { hydrateRoot } from 'react-dom/client ' ;
10
10
import App from './App' ;
11
11
12
12
hydrateRoot ( document , < App assets = { window . assetManifest } /> ) ;
You can’t perform that action at this time.
0 commit comments