This commit adds support for suspending during JIT SSR rendering. Additionally this PR adds `useData` support. This hook is triggered during JIT render and can be used to fetch data. This data is sent to the client and returned there from calls to useData too.
21 lines
541 B
TypeScript
21 lines
541 B
TypeScript
// DO NOT EDIT. This file is generated by `fresh`.
|
|
// This file SHOULD be checked into source version control.
|
|
// To update this file, run `fresh routes`.
|
|
|
|
import * as $0 from "./pages/api/joke.ts";
|
|
import * as $1 from "./pages/x/[module].tsx";
|
|
import * as $2 from "./pages/[name].tsx";
|
|
import * as $3 from "./pages/index.tsx";
|
|
|
|
const routes = {
|
|
pages: {
|
|
"./pages/api/joke.ts": $0,
|
|
"./pages/x/[module].tsx": $1,
|
|
"./pages/[name].tsx": $2,
|
|
"./pages/index.tsx": $3,
|
|
},
|
|
baseUrl: import.meta.url,
|
|
};
|
|
|
|
export default routes;
|