File tree Expand file tree Collapse file tree 12 files changed +13501
-12470
lines changed
Expand file tree Collapse file tree 12 files changed +13501
-12470
lines changed Original file line number Diff line number Diff line change 1212 "test" : " cross-env NODE_ENV=test jest"
1313 },
1414 "dependencies" : {
15- "@labkey/components" : " 4.0 .0"
15+ "@labkey/components" : " 7.24.2-fb-build-deps .0"
1616 },
1717 "devDependencies" : {
18- "@labkey/build" : " 7.3 .0" ,
19- "@types/jest" : " 29.2 .0" ,
20- "@types/react" : " 16.14.34 " ,
21- "jest" : " 29 .2.2 " ,
22- "jest-environment-jsdom" : " 29 .2.2 " ,
18+ "@labkey/build" : " 9.0.1-fb-build-deps .0" ,
19+ "@types/jest" : " 30.0 .0" ,
20+ "@types/react" : " 18.3.27 " ,
21+ "jest" : " 30 .2.0 " ,
22+ "jest-environment-jsdom" : " 30 .2.0 " ,
2323 "jest-teamcity-reporter" : " 0.9.0" ,
24- "ts-jest" : " 29.0.3 "
24+ "ts-jest" : " 29.4.6 "
2525 },
2626 "jest" : {
2727 "globals" : {
Original file line number Diff line number Diff line change 11import React from 'react' ;
2- import ReactDOM from 'react-dom' ;
2+ import { createRoot } from 'react-dom/client ' ;
33
44import { App } from './FileAttachmentForm' ;
55
66// Need to wait for container element to be available in labkey wrapper before render
77window . addEventListener ( 'DOMContentLoaded' , ( event ) => {
8- ReactDOM . render ( < App /> , document . getElementById ( 'app' ) ) ;
8+ createRoot ( document . getElementById ( 'app' ) ) . render ( < App /> ) ;
99} ) ;
Original file line number Diff line number Diff line change 11import React from 'react' ;
2- import ReactDOM from 'react-dom' ;
2+ import { createRoot } from 'react-dom/client ' ;
33
44import { App } from './FileAttachmentForm' ;
55
66const render = ( ) => {
7- ReactDOM . render ( < App /> , document . getElementById ( 'app' ) ) ;
7+ createRoot ( document . getElementById ( 'app' ) ) . render ( < App /> ) ;
88} ;
99
1010render ( ) ;
Original file line number Diff line number Diff line change 11import React from 'react' ;
2- import ReactDOM from 'react-dom' ;
2+ import { createRoot } from 'react-dom/client ' ;
33
44import { App } from './HelloWorld' ;
55import './helloWorld.scss' ;
66
77// Need to wait for container element to be available in labkey wrapper before render
88window . addEventListener ( 'DOMContentLoaded' , ( event ) => {
9- ReactDOM . render ( < App /> , document . getElementById ( 'app' ) ) ;
9+ createRoot ( document . getElementById ( 'app' ) ) . render ( < App /> ) ;
1010} ) ;
Original file line number Diff line number Diff line change 11import React from 'react' ;
2- import ReactDOM from 'react-dom' ;
2+ import { createRoot } from 'react-dom/client ' ;
33
44import { App } from './HelloWorld' ;
55import './helloWorld.scss' ;
66
77const render = ( ) => {
8- ReactDOM . render ( < App /> , document . getElementById ( 'app' ) ) ;
8+ createRoot ( document . getElementById ( 'app' ) ) . render ( < App /> ) ;
99} ;
1010
1111render ( ) ;
Original file line number Diff line number Diff line change 11import React from 'react' ;
2- import ReactDOM from 'react-dom' ;
2+ import { createRoot } from 'react-dom/client ' ;
33
44import { App } from './QueryModelExample' ;
55import './queryModelExample.scss' ;
66
77// Need to wait for container element to be available in labkey wrapper before render
88window . addEventListener ( 'DOMContentLoaded' , ( event ) => {
9- ReactDOM . render ( < App /> , document . getElementById ( 'app' ) ) ;
9+ createRoot ( document . getElementById ( 'app' ) ) . render ( < App /> ) ;
1010} ) ;
Original file line number Diff line number Diff line change 11import React from 'react' ;
2- import ReactDOM from 'react-dom' ;
2+ import { createRoot } from 'react-dom/client ' ;
33
44import { App } from './QueryModelExample' ;
55import './queryModelExample.scss' ;
66
77const render = ( ) => {
8- ReactDOM . render ( < App /> , document . getElementById ( 'app' ) ) ;
8+ createRoot ( document . getElementById ( 'app' ) ) . render ( < App /> ) ;
99} ;
1010
1111render ( ) ;
Original file line number Diff line number Diff line change 11import React from 'react' ;
2- import ReactDOM from 'react-dom' ;
2+ import { createRoot } from 'react-dom/client ' ;
33
44import { ToDoListPage } from './ToDoListPage'
55
66// Need to wait for container element to be available in labkey wrapper before render
77window . addEventListener ( 'DOMContentLoaded' , ( event ) => {
8- ReactDOM . render ( < ToDoListPage /> , document . getElementById ( 'app' ) ) ;
8+ createRoot ( document . getElementById ( 'app' ) ) . render ( < ToDoListPage /> ) ;
99} ) ;
Original file line number Diff line number Diff line change 11import React from 'react' ;
2- import ReactDOM from 'react-dom' ;
2+ import { createRoot } from 'react-dom/client ' ;
33
44import { ToDoListPage } from './ToDoListPage' ;
55
66const render = ( ) => {
7- ReactDOM . render ( < ToDoListPage /> , document . getElementById ( 'app' ) )
7+ createRoot ( document . getElementById ( 'app' ) ) . render ( < ToDoListPage /> ) ;
88} ;
99
1010render ( ) ;
You can’t perform that action at this time.
0 commit comments