-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Upgrade react 18 - also update packages with peer dependencies on react - delete file not referenced anywhere (it happened to also reference a datetime package that has not be updated to be compatible with react 18, but it doesn't matter because we didn't actually need it) - palantir/blueprint#5699 * package lock * Change to use the new API for the root render call reqired in version 18 * Remove unneeded depedency, move cypress-parallel to optional depedencies
- Loading branch information
1 parent
8d61204
commit 6fa3a61
Showing
11 changed files
with
381 additions
and
413 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,10 @@ | ||
import React from 'react'; | ||
import ReactDOM from 'react-dom'; | ||
import { createRoot } from 'react-dom/client'; | ||
|
||
|
||
|
||
ReactDOM.render( | ||
const root = createRoot(document.getElementById('root')); | ||
root.render( | ||
<> | ||
test here | ||
</>, | ||
document.getElementById('root'), | ||
</> | ||
); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,20 @@ | ||
import { MathJaxContext } from 'better-react-mathjax'; | ||
import React from 'react'; | ||
import ReactDOM from 'react-dom'; | ||
import { createRoot } from 'react-dom/client'; | ||
import { mathjaxConfig } from '../../Core/utils/math.js'; | ||
|
||
import UIDocs from './uiDocs.jsx'; | ||
|
||
// import { initialize } from '../imports/courseInfo'; | ||
// initialize(); | ||
|
||
ReactDOM.render( | ||
const root = createRoot(document.getElementById('root')); | ||
root.render( | ||
<MathJaxContext | ||
version={2} | ||
config={mathjaxConfig} | ||
onStartup={(mathJax) => (mathJax.Hub.processSectionDelay = 0)} | ||
> | ||
<UIDocs /> | ||
</MathJaxContext> | ||
, document.getElementById('root')); | ||
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
150 changes: 0 additions & 150 deletions
150
src/_reactComponents/PanelHeaderComponents/DateTime2.jsx
This file was deleted.
Oops, something went wrong.