File tree Expand file tree Collapse file tree 3 files changed +19
-29
lines changed Expand file tree Collapse file tree 3 files changed +19
-29
lines changed Original file line number Diff line number Diff line change 88 "@testing-library/react" : " ^11.1.0" ,
99 "@testing-library/user-event" : " ^12.1.10" ,
1010 "framer-motion" : " 4.1.17" ,
11- "react" : " ^17 .0.2 " ,
11+ "react" : " ^18 .0.0 " ,
1212 "react-countup" : " ^6.1.1" ,
13- "react-dom" : " ^17 .0.2 " ,
13+ "react-dom" : " ^18 .0.0 " ,
1414 "react-icons" : " ^4.3.1" ,
1515 "react-router-dom" : " ^6.0.2" ,
1616 "react-scripts" : " 4.0.3" ,
Original file line number Diff line number Diff line change 1- import React from 'react' ;
2- import ReactDOM from 'react-dom' ;
31import './index.css' ;
42import App from './App' ;
53import reportWebVitals from './reportWebVitals' ;
64
7- ReactDOM . render (
8- < React . StrictMode >
9- < App />
10- </ React . StrictMode > ,
11- document . getElementById ( 'root' )
12- ) ;
5+ import { createRoot } from 'react-dom/client' ;
6+ const container = document . getElementById ( 'root' ) ;
7+ const root = createRoot ( container ) ;
8+ root . render ( < App /> ) ;
139
14- // If you want to start measuring performance in your app, pass a function
15- // to log results (for example: reportWebVitals(console.log))
16- // or send to an analytics endpoint. Learn more: https://bit.ly/CRA-vitals
1710reportWebVitals ( ) ;
Original file line number Diff line number Diff line change @@ -9466,14 +9466,13 @@ react-dev-utils@^11.0.3:
94669466 strip-ansi "6.0.0"
94679467 text-table "0.2.0"
94689468
9469- react-dom@^17 .0.2 :
9470- version "17 .0.2 "
9471- resolved "https://registry.npmjs.org /react-dom/-/react-dom-17 .0.2 .tgz"
9472- integrity sha512-s4h96KtLDUQlsENhMn1ar8t2bEa+q/YAtj8pPPdIjPDGBDIVNsrD9aXNWqspUe6AzKCIG0C1HZZLqLV7qpOBGA ==
9469+ react-dom@^18 .0.0 :
9470+ version "18 .0.0 "
9471+ resolved "https://registry.yarnpkg.com /react-dom/-/react-dom-18 .0.0 .tgz#26b88534f8f1dbb80853e1eabe752f24100d8023 "
9472+ integrity sha512-XqX7uzmFo0pUceWFCt7Gff6IyIMzFUn7QMZrbrQfGxtaxXZIcGQzoNpRLE3fQLnS4XzLLPMZX2T9TRcSrasicw ==
94739473 dependencies :
94749474 loose-envify "^1.1.0"
9475- object-assign "^4.1.1"
9476- scheduler "^0.20.2"
9475+ scheduler "^0.21.0"
94779476
94789477react-error-overlay@^6.0.9 :
94799478 version "6.0.9"
@@ -9589,13 +9588,12 @@ react-scroll@^1.8.4:
95899588 lodash.throttle "^4.1.1"
95909589 prop-types "^15.7.2"
95919590
9592- react@^17 .0.2 :
9593- version "17 .0.2 "
9594- resolved "https://registry.npmjs.org /react/-/react-17 .0.2 .tgz"
9595- integrity sha512-gnhPt75i/dq/z3/6q/0asP78D0u592D5L1pd7M8P+dck6Fu/jJeL6iVVK23fptSUZj8Vjf++7wXA8UNclGQcbA ==
9591+ react@^18 .0.0 :
9592+ version "18 .0.0 "
9593+ resolved "https://registry.yarnpkg.com /react/-/react-18 .0.0 .tgz#b468736d1f4a5891f38585ba8e8fb29f91c3cb96 "
9594+ integrity sha512-x+VL6wbT4JRVPm7EGxXhZ8w8LTROaxPXOqhlGyVSrv0sB1jkyFGgXxJ8LVoPRLvPR6/CIZGFmfzqUa2NYeMr2A ==
95969595 dependencies :
95979596 loose-envify "^1.1.0"
9598- object-assign "^4.1.1"
95999597
96009598read-pkg-up@^2.0.0 :
96019599 version "2.0.0"
@@ -10069,13 +10067,12 @@ saxes@^5.0.1:
1006910067 dependencies :
1007010068 xmlchars "^2.2.0"
1007110069
10072- scheduler@^0.20.2 :
10073- version "0.20.2 "
10074- resolved "https://registry.npmjs.org /scheduler/-/scheduler-0.20.2 .tgz"
10075- integrity sha512-2eWfGgAqqWFGqtdMmcL5zCMK1U8KlXv8SQFGglL3CEtd0aDVDWgeF/YoCmvln55m5zSk3J/20hTaSBeSObsQDQ ==
10070+ scheduler@^0.21.0 :
10071+ version "0.21.0 "
10072+ resolved "https://registry.yarnpkg.com /scheduler/-/scheduler-0.21.0 .tgz#6fd2532ff5a6d877b6edb12f00d8ab7e8f308820 "
10073+ integrity sha512-1r87x5fz9MXqswA2ERLo0EbOAU74DpIUO090gIasYTqlVoJeMcl+Z1Rg7WHz+qtPujhS/hGIt9kxZOYBV3faRQ ==
1007610074 dependencies :
1007710075 loose-envify "^1.1.0"
10078- object-assign "^4.1.1"
1007910076
1008010077schema-utils@^1.0.0 :
1008110078 version "1.0.0"
You can’t perform that action at this time.
0 commit comments