Skip to content

Commit cd9f30e

Browse files
committed
Added demo links to docs
1 parent 61c0f5b commit cd9f30e

File tree

5 files changed

+34
-0
lines changed

5 files changed

+34
-0
lines changed

README.md

+6
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,12 @@ enableReactOptimization(); // just makes it a but faster
136136

137137
# Example
138138

139+
## Demo
140+
- [React SSR](/example/ssr-react/README.md)
141+
- [React SSR + TS](/example/ssr-react-ts/README.md)
142+
- [React Streaming SSR](/example/ssr-react-streaming/README.md)
143+
- [React Streaming SSR + TS](/example/ssr-react-streaming-ts/README.md)
144+
139145
## Static rendering
140146

141147
There is nothing interesting here - just render, just `getUsedStyles`.
+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# React Streaming SSR + TS demo
2+
3+
This template is build using `vite` and uses `renderToPipeableStream` for SSR.
4+
To run the demo:
5+
6+
- dev: `yarn install && yarn dev`.
7+
- prod: `yarn install && yarn build && yarn preview`

example/ssr-react-streaming/README.md

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# React Streaming SSR demo
2+
3+
This template is build using `vite` and uses `renderToPipeableStream` for SSR.
4+
To run the demo:
5+
6+
- dev: `yarn install && yarn dev`.
7+
- prod: `yarn install && yarn build && yarn preview`

example/ssr-react-ts/README.md

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# React SSR + TS demo
2+
3+
This template is build using `vite` and uses `renderToString` for SSR.
4+
To run the demo:
5+
6+
- dev: `yarn install && yarn dev`.
7+
- prod: `yarn install && yarn build && yarn preview`

example/ssr-react/README.md

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# React SSR demo
2+
3+
This template is build using `vite` and uses `renderToString` for SSR.
4+
To run the demo:
5+
6+
- dev: `yarn install && yarn dev`.
7+
- prod: `yarn install && yarn build && yarn preview`

0 commit comments

Comments
 (0)