-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1606 from chrissolanilla/1605/Replace-Render
1605/replace render
- Loading branch information
Showing
35 changed files
with
150 additions
and
170 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,13 @@ | ||
import React from 'react' | ||
import ReactDOM from 'react-dom' | ||
import {createRoot} from 'react-dom/client' | ||
import { QueryClient, QueryClientProvider, QueryCache } from 'react-query' | ||
import { ReactQueryDevtools } from "react-query/devtools"; | ||
import Action404 from './components/404' | ||
|
||
const queryCache = new QueryCache() | ||
export const queryClient = new QueryClient({ queryCache }) | ||
|
||
ReactDOM.render( | ||
const root = createRoot(document.getElementById('app')); | ||
root.render( | ||
<QueryClientProvider client={queryClient} contextSharing={true}> | ||
<Action404 /> | ||
<ReactQueryDevtools initialIsOpen={false} /> | ||
</QueryClientProvider>, document.getElementById('app')) | ||
</QueryClientProvider> ) |
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,14 +1,13 @@ | ||
import React from 'react' | ||
import ReactDOM from 'react-dom' | ||
import {createRoot} from 'react-dom/client' | ||
import { QueryClient, QueryClientProvider, QueryCache } from 'react-query' | ||
import { ReactQueryDevtools } from "react-query/devtools"; | ||
import Action500 from './components/500' | ||
|
||
const queryCache = new QueryCache() | ||
export const queryClient = new QueryClient({ queryCache }) | ||
|
||
ReactDOM.render( | ||
const root = createRoot(document.getElementById('app')); | ||
root.render( | ||
<QueryClientProvider client={queryClient} contextSharing={true}> | ||
<Action500 /> | ||
<ReactQueryDevtools initialIsOpen={false} /> | ||
</QueryClientProvider>, document.getElementById('app')) | ||
</QueryClientProvider> ) |
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,14 +1,13 @@ | ||
import React from 'react' | ||
import ReactDOM from 'react-dom' | ||
import {createRoot} from 'react-dom/client' | ||
import { QueryClient, QueryClientProvider, QueryCache } from 'react-query' | ||
import { ReactQueryDevtools } from "react-query/devtools"; | ||
import CatalogPage from './components/catalog-page' | ||
|
||
const queryCache = new QueryCache() | ||
export const queryClient = new QueryClient({ queryCache }) | ||
|
||
ReactDOM.render( | ||
const root = createRoot(document.getElementById('app')); | ||
root.render( | ||
<QueryClientProvider client={queryClient} contextSharing={true}> | ||
<CatalogPage /> | ||
<ReactQueryDevtools initialIsOpen={false} /> | ||
</QueryClientProvider>, document.getElementById('app')) | ||
</QueryClientProvider> ) |
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,14 +1,13 @@ | ||
import React from 'react' | ||
import ReactDOM from 'react-dom' | ||
import {createRoot} from 'react-dom/client' | ||
import { QueryClient, QueryClientProvider, QueryCache } from 'react-query' | ||
import { ReactQueryDevtools } from "react-query/devtools"; | ||
import Closed from './components/closed' | ||
|
||
const queryCache = new QueryCache() | ||
export const queryClient = new QueryClient({ queryCache }) | ||
|
||
ReactDOM.render( | ||
const root = createRoot(document.getElementById('app')); | ||
root.render( | ||
<QueryClientProvider client={queryClient} contextSharing={true}> | ||
<Closed /> | ||
<ReactQueryDevtools initialIsOpen={false} /> | ||
</QueryClientProvider>, document.getElementById('app')) | ||
</QueryClientProvider> ) |
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,13 @@ | ||
import React from 'react' | ||
import ReactDOM from 'react-dom' | ||
import {createRoot} from 'react-dom/client' | ||
import { QueryClient, QueryClientProvider, QueryCache } from 'react-query' | ||
import WidgetCreatorPage from './components/widget-creator-page' | ||
|
||
const queryCache = new QueryCache() | ||
export const queryClient = new QueryClient({ queryCache }) | ||
|
||
ReactDOM.render( | ||
const root = createRoot(document.getElementById('app')); | ||
root.render( | ||
<QueryClientProvider client={queryClient} contextSharing={true}> | ||
<WidgetCreatorPage /> | ||
</QueryClientProvider>, document.getElementById('app')) | ||
</QueryClientProvider> ) |
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,14 +1,14 @@ | ||
import React from 'react' | ||
import ReactDOM from 'react-dom' | ||
import {createRoot} from 'react-dom/client' | ||
import { QueryClient, QueryClientProvider, QueryCache } from 'react-query' | ||
import { ReactQueryDevtools } from "react-query/devtools"; | ||
import DetailPage from './components/detail-page' | ||
|
||
const queryCache = new QueryCache() | ||
export const queryClient = new QueryClient({ queryCache }) | ||
|
||
ReactDOM.render( | ||
const root = createRoot(document.getElementById('app')); | ||
|
||
root.render( | ||
<QueryClientProvider client={queryClient} contextSharing={true}> | ||
<DetailPage /> | ||
<ReactQueryDevtools initialIsOpen={false} /> | ||
</QueryClientProvider>, document.getElementById('app')) | ||
</QueryClientProvider>) |
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,14 +1,13 @@ | ||
import React from 'react' | ||
import ReactDOM from 'react-dom' | ||
import {createRoot} from 'react-dom/client' | ||
import { QueryClient, QueryClientProvider, QueryCache } from 'react-query' | ||
import { ReactQueryDevtools } from "react-query/devtools"; | ||
import DraftNotPlayable from './components/draft-not-playable' | ||
|
||
const queryCache = new QueryCache() | ||
export const queryClient = new QueryClient({ queryCache }) | ||
|
||
ReactDOM.render( | ||
const root = createRoot(document.getElementById('app')); | ||
root.render( | ||
<QueryClientProvider client={queryClient} contextSharing={true}> | ||
<DraftNotPlayable /> | ||
<ReactQueryDevtools initialIsOpen={false} /> | ||
</QueryClientProvider>, document.getElementById('app')) | ||
</QueryClientProvider> ) |
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,14 +1,13 @@ | ||
import React from 'react' | ||
import ReactDOM from 'react-dom' | ||
import {createRoot} from 'react-dom/client' | ||
import { QueryClient, QueryClientProvider, QueryCache } from 'react-query' | ||
import { ReactQueryDevtools } from "react-query/devtools"; | ||
import EmbeddedOnly from './components/embedded-only' | ||
|
||
const queryCache = new QueryCache() | ||
export const queryClient = new QueryClient({ queryCache }) | ||
|
||
ReactDOM.render( | ||
const root = createRoot(document.getElementById('app')); | ||
root.render( | ||
<QueryClientProvider client={queryClient} contextSharing={true}> | ||
<EmbeddedOnly /> | ||
<ReactQueryDevtools initialIsOpen={false} /> | ||
</QueryClientProvider>, document.getElementById('app')) | ||
</QueryClientProvider> ) |
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,14 +1,13 @@ | ||
import React from 'react' | ||
import ReactDOM from 'react-dom' | ||
import {createRoot} from 'react-dom/client' | ||
import { QueryClient, QueryClientProvider, QueryCache } from 'react-query' | ||
import { ReactQueryDevtools } from "react-query/devtools"; | ||
import GuidePage from './components/guide-page' | ||
|
||
const queryCache = new QueryCache() | ||
export const queryClient = new QueryClient({ queryCache }) | ||
|
||
ReactDOM.render( | ||
const root = createRoot(document.getElementById('app')); | ||
root.render( | ||
<QueryClientProvider client={queryClient} contextSharing={true}> | ||
<GuidePage /> | ||
<ReactQueryDevtools initialIsOpen={false} /> | ||
</QueryClientProvider>, document.getElementById('app')) | ||
</QueryClientProvider> ) |
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,14 +1,13 @@ | ||
import React from 'react' | ||
import ReactDOM from 'react-dom' | ||
import {createRoot} from 'react-dom/client' | ||
import { QueryClient, QueryClientProvider, QueryCache } from 'react-query' | ||
import { ReactQueryDevtools } from "react-query/devtools"; | ||
import HelpPage from './components/help-page' | ||
|
||
const queryCache = new QueryCache() | ||
export const queryClient = new QueryClient({ queryCache }) | ||
|
||
ReactDOM.render( | ||
const root = createRoot(document.getElementById('app')); | ||
root.render( | ||
<QueryClientProvider client={queryClient} contextSharing={true}> | ||
<HelpPage /> | ||
<ReactQueryDevtools initialIsOpen={false} /> | ||
</QueryClientProvider>, document.getElementById('app')) | ||
</QueryClientProvider>) |
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,14 +1,13 @@ | ||
import React from 'react' | ||
import ReactDOM from 'react-dom' | ||
import {createRoot} from 'react-dom/client' | ||
import { QueryClient, QueryClientProvider, QueryCache } from 'react-query' | ||
import { ReactQueryDevtools } from "react-query/devtools"; | ||
import Homepage from './components/homepage' | ||
|
||
const queryCache = new QueryCache() | ||
export const queryClient = new QueryClient({ queryCache }) | ||
|
||
ReactDOM.render( | ||
const root = createRoot(document.getElementById('app')); | ||
root.render( | ||
<QueryClientProvider client={queryClient} contextSharing={true}> | ||
<Homepage /> | ||
<ReactQueryDevtools initialIsOpen={false} /> | ||
</QueryClientProvider>, document.getElementById('app')) | ||
</QueryClientProvider> ) |
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,14 +1,13 @@ | ||
import React from 'react' | ||
import ReactDOM from 'react-dom' | ||
import {createRoot} from 'react-dom/client' | ||
import { QueryClient, QueryClientProvider, QueryCache } from 'react-query' | ||
import { ReactQueryDevtools } from "react-query/devtools"; | ||
import LoginPage from './components/login-page' | ||
|
||
const queryCache = new QueryCache() | ||
export const queryClient = new QueryClient({ queryCache }) | ||
|
||
ReactDOM.render( | ||
const root = createRoot(document.getElementById('app')); | ||
root.render( | ||
<QueryClientProvider client={queryClient} contextSharing={true}> | ||
<LoginPage /> | ||
<ReactQueryDevtools initialIsOpen={false} /> | ||
</QueryClientProvider>, document.getElementById('app')) | ||
</QueryClientProvider> ) |
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,14 +1,13 @@ | ||
import React from 'react' | ||
import ReactDOM from 'react-dom' | ||
import {createRoot} from 'react-dom/client' | ||
import { QueryClient, QueryClientProvider, QueryCache } from 'react-query' | ||
import { ReactQueryDevtools } from "react-query/devtools"; | ||
import ErrorGeneral from './components/lti/error-general' | ||
|
||
const queryCache = new QueryCache() | ||
export const queryClient = new QueryClient({ queryCache }) | ||
|
||
ReactDOM.render( | ||
const root = createRoot(document.getElementById('app')); | ||
root.render( | ||
<QueryClientProvider client={queryClient} contextSharing={true}> | ||
<ErrorGeneral /> | ||
<ReactQueryDevtools initialIsOpen={false} /> | ||
</QueryClientProvider>, document.getElementById('app')) | ||
</QueryClientProvider> ) |
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,14 +1,13 @@ | ||
import React from 'react' | ||
import ReactDOM from 'react-dom' | ||
import {createRoot} from 'react-dom/client' | ||
import { QueryClient, QueryClientProvider, QueryCache } from 'react-query' | ||
import { ReactQueryDevtools } from "react-query/devtools"; | ||
import OpenPreview from './components/lti/open-preview' | ||
|
||
const queryCache = new QueryCache() | ||
export const queryClient = new QueryClient({ queryCache }) | ||
|
||
ReactDOM.render( | ||
const root = createRoot(document.getElementById('app')); | ||
root.render( | ||
<QueryClientProvider client={queryClient} contextSharing={true}> | ||
<OpenPreview /> | ||
<ReactQueryDevtools initialIsOpen={false} /> | ||
</QueryClientProvider>, document.getElementById('app')) | ||
</QueryClientProvider> ) |
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,13 @@ | ||
import React from 'react' | ||
import ReactDOM from 'react-dom' | ||
import {createRoot} from 'react-dom/client' | ||
import { QueryClient, QueryClientProvider, QueryCache } from 'react-query' | ||
import PostLogin from './components/lti/post-login' | ||
|
||
const queryCache = new QueryCache() | ||
export const queryClient = new QueryClient({ queryCache }) | ||
|
||
ReactDOM.render( | ||
const root = createRoot(document.getElementById('app')); | ||
root.render( | ||
<QueryClientProvider client={queryClient} contextSharing={true}> | ||
<PostLogin /> | ||
</QueryClientProvider>, document.getElementById('app')) | ||
</QueryClientProvider>) |
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,14 +1,13 @@ | ||
import React from 'react' | ||
import ReactDOM from 'react-dom' | ||
import {createRoot} from 'react-dom/client' | ||
import { QueryClient, QueryClientProvider, QueryCache } from 'react-query' | ||
import { ReactQueryDevtools } from "react-query/devtools"; | ||
import SelectItem from './components/lti/select-item' | ||
|
||
const queryCache = new QueryCache() | ||
export const queryClient = new QueryClient({ queryCache }) | ||
|
||
ReactDOM.render( | ||
const root = createRoot(document.getElementById('app')); | ||
root.render( | ||
<QueryClientProvider client={queryClient} contextSharing={true}> | ||
<SelectItem /> | ||
<ReactQueryDevtools initialIsOpen={false} /> | ||
</QueryClientProvider>, document.getElementById('app')) | ||
</QueryClientProvider> ) |
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,13 @@ | ||
import React from 'react' | ||
import ReactDOM from 'react-dom' | ||
import {createRoot} from 'react-dom/client' | ||
import { QueryClient, QueryClientProvider, QueryCache } from 'react-query' | ||
import MediaImporter from './components/media-importer' | ||
|
||
const queryCache = new QueryCache() | ||
export const queryClient = new QueryClient({ queryCache }) | ||
|
||
ReactDOM.render( | ||
const root = createRoot(document.getElementById('app')); | ||
root.render( | ||
<QueryClientProvider client={queryClient} contextSharing={true}> | ||
<MediaImporter /> | ||
</QueryClientProvider>, document.getElementById('app')) | ||
</QueryClientProvider> ) |
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,14 +1,13 @@ | ||
import React from 'react' | ||
import ReactDOM from 'react-dom' | ||
import {createRoot} from 'react-dom/client' | ||
import { QueryClient, QueryClientProvider, QueryCache } from 'react-query' | ||
import { ReactQueryDevtools } from "react-query/devtools"; | ||
import NoAttempts from './components/no-attempts' | ||
|
||
const queryCache = new QueryCache() | ||
export const queryClient = new QueryClient({ queryCache }) | ||
|
||
ReactDOM.render( | ||
const root = createRoot(document.getElementById('app')); | ||
root.render( | ||
<QueryClientProvider client={queryClient} contextSharing={true}> | ||
<NoAttempts /> | ||
<ReactQueryDevtools initialIsOpen={false} /> | ||
</QueryClientProvider>, document.getElementById('app')) | ||
</QueryClientProvider> ) |
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,14 +1,13 @@ | ||
import React from 'react' | ||
import ReactDOM from 'react-dom' | ||
import {createRoot} from 'react-dom/client' | ||
import { QueryClient, QueryClientProvider, QueryCache } from 'react-query' | ||
import { ReactQueryDevtools } from "react-query/devtools"; | ||
import NoPermission from './components/no-permission' | ||
|
||
const queryCache = new QueryCache() | ||
export const queryClient = new QueryClient({ queryCache }) | ||
|
||
ReactDOM.render( | ||
const root = createRoot(document.getElementById('app')); | ||
root.render( | ||
<QueryClientProvider client={queryClient} contextSharing={true}> | ||
<NoPermission /> | ||
<ReactQueryDevtools initialIsOpen={false} /> | ||
</QueryClientProvider>, document.getElementById('app')) | ||
</QueryClientProvider>) |
Oops, something went wrong.