This repository has been archived by the owner on Jun 7, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 85
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#21 TEMPORARY CHECKIN, issues with build due to react esm and maybe y…
…arn 3
- Loading branch information
1 parent
5d81def
commit 6384451
Showing
8 changed files
with
323 additions
and
223 deletions.
There are no files selected for viewing
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,22 +1,26 @@ | ||
/* eslint-disable */ | ||
|
||
import React from 'react'; | ||
import { StrictMode } from 'react'; | ||
|
||
//import React from 'react'; | ||
|
||
const run = async (): Promise<void> => { | ||
// dynamic imports for code splitting | ||
const { lazy, Suspense } = await import('react'); | ||
const { lazy, Suspense, StrictMode } = await import('react'); | ||
const ReactDOM = await import('react-dom'); | ||
await import('./helpers/__global'); | ||
const App = lazy(() => import('./components/routes/App')); | ||
|
||
ReactDOM.render( | ||
<React.StrictMode> | ||
<StrictMode> | ||
<Suspense fallback={<div />}> | ||
<App /> | ||
</Suspense> | ||
</React.StrictMode>, | ||
</StrictMode>, | ||
document.getElementById('root') | ||
); | ||
}; | ||
|
||
void run(); | ||
|
||
export {}; |
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
Oops, something went wrong.