perf: offload long running tasks to workers, preloading dm page data
This commit is contained in:
parent
b97fa88893
commit
ad9933903c
18 changed files with 524 additions and 297 deletions
|
@ -1,6 +1,6 @@
|
|||
import { type Component } from "solid-js";
|
||||
import { Route } from "@solidjs/router";
|
||||
import { DmId, GroupId, Home, Overview } from "./pages";
|
||||
import { DmId, GroupId, Home, Overview, preloadDmId } from "./pages";
|
||||
|
||||
import "./app.css";
|
||||
|
||||
|
@ -9,7 +9,7 @@ const App: Component = () => {
|
|||
<>
|
||||
<Route path="/" component={Home} />
|
||||
<Route path="/overview" component={Overview} />
|
||||
<Route path="/dm/:dmid" component={DmId} />
|
||||
<Route path="/dm/:dmid" component={DmId} preload={preloadDmId} />
|
||||
<Route path="/group/:groupid" component={GroupId} />
|
||||
</>
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue