Download react-query/examples/solid/solid-start-streaming/src/entry-server.tsx from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 550 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/1e92f2d0b9e054abc23a53595fd89ad3e2b4a34e/react-query/examples/solid/solid-start-streaming/src/entry-server.tsx
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset@1e92f2d0b9e054abc23a53595fd89ad3e2b4a34e/react-query/examples/solid/solid-start-streaming/src/entry-server.tsx
-
curl -L -o entry-server.tsx https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/1e92f2d0b9e054abc23a53595fd89ad3e2b4a34e/react-query/examples/solid/solid-start-streaming/src/entry-server.tsx
550 Bytes
| // @refresh reload | |
| import { createHandler, StartServer } from '@solidjs/start/server' | |
| export default createHandler(() => ( | |
| <StartServer | |
| document={({ assets, children, scripts }) => ( | |
| <html lang="en"> | |
| <head> | |
| <meta charset="utf-8" /> | |
| <meta name="viewport" content="width=device-width, initial-scale=1" /> | |
| <link rel="icon" href="/favicon.ico" /> | |
| {assets} | |
| </head> | |
| <body> | |
| <div id="app">{children}</div> | |
| {scripts} | |
| </body> | |
| </html> | |
| )} | |
| /> | |
| )) | |