@taujs/server 0.1.1 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/dist/index.d.ts +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
`pnpm add @taujs/server`
|
|
8
8
|
|
|
9
|
-
##
|
|
9
|
+
## CSR; SSR; Streaming SSR; Hydration; Fastify + React 18
|
|
10
10
|
|
|
11
11
|
Fastify Plugin for integration with taujs [ τjs ] template https://github.com/aoede3/taujs
|
|
12
12
|
|
|
@@ -40,7 +40,7 @@ Integrated ViteDevServer HMR + Vite Runtime API run alongside tsx (TS eXecute) p
|
|
|
40
40
|
|
|
41
41
|
https://github.com/aoede3/taujs/blob/main/src/server/index.ts
|
|
42
42
|
|
|
43
|
-
Not utilising taujs [ τjs ] template? Add in your own `alias` object for your own particular setup e.g. `alias: { object }`
|
|
43
|
+
Not utilising taujs [ τjs ] template? Add in your own ts `alias` object for your own particular directory setup e.g. `alias: { object }`
|
|
44
44
|
|
|
45
45
|
### React 'entry-client.tsx'
|
|
46
46
|
|
package/dist/index.d.ts
CHANGED
|
@@ -56,7 +56,7 @@ type RenderModule = {
|
|
|
56
56
|
renderStream: RenderStream;
|
|
57
57
|
};
|
|
58
58
|
type RouteAttributes<Params = {}> = {
|
|
59
|
-
fetch
|
|
59
|
+
fetch?: (params?: Params, options?: RequestInit & {
|
|
60
60
|
params?: Record<string, unknown>;
|
|
61
61
|
}) => Promise<{
|
|
62
62
|
options: RequestInit & {
|