{"id":24625409,"url":"https://github.com/nashaddams/ssr","last_synced_at":"2026-05-06T06:33:32.138Z","repository":{"id":273937345,"uuid":"921314285","full_name":"nashaddams/ssr","owner":"nashaddams","description":"Proof of concept implementation for server-side rendering using renderToReadableStream and hydrateRoot","archived":false,"fork":false,"pushed_at":"2025-01-23T20:38:46.000Z","size":3,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-23T21:28:44.122Z","etag":null,"topics":["css-in-js","deno","react","server-side-rendering","ssr"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nashaddams.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-01-23T18:17:53.000Z","updated_at":"2025-01-23T20:38:50.000Z","dependencies_parsed_at":"2025-01-23T21:38:47.744Z","dependency_job_id":null,"html_url":"https://github.com/nashaddams/ssr","commit_stats":null,"previous_names":["nashaddams/ssr"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nashaddams%2Fssr","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nashaddams%2Fssr/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nashaddams%2Fssr/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nashaddams%2Fssr/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nashaddams","download_url":"https://codeload.github.com/nashaddams/ssr/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244394470,"owners_count":20445634,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["css-in-js","deno","react","server-side-rendering","ssr"],"created_at":"2025-01-25T04:33:45.012Z","updated_at":"2025-10-09T18:34:20.242Z","avatar_url":"https://github.com/nashaddams.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SSR with `React` and `Deno`\n\nThis repository contains a proof of concept implementation for server-side\nrendering using\n[`renderToReadableStream`](https://react.dev/reference/react-dom/server/renderToReadableStream)\nand [`hydrateRoot`](https://react.dev/reference/react-dom/client/hydrateRoot).\n\n## Structure\n\n```sh\n┌── src/\n│   ├── client/mod.tsx # Hydration logic\n│   ├── server/mod.tsx # SSR logic, including content streaming and style injection\n│   └── server/app.tsx # The React app\n└── bundle.ts # Bundle the client code responsible for hydration\n```\n\n## Run\n\n```sh\ndeno task dev\n```\n\nAlternatively, `ssr` can also be run as an executable:\n\n```sh\ndeno task build \u0026\u0026 dist/ssr\n```\n\n## Stack\n\n- [React](https://github.com/facebook/react)\n- [styled-components](https://github.com/styled-components/styled-components)\n- [Deno](https://github.com/denoland/deno)\n- [esbuild-deno-loader](https://github.com/lucacasonato/esbuild_deno_loader)\n\n## Other work\n\n- [Hono JSX](https://hono.dev/docs/guides/jsx) and\n  [Hono Client Components](https://hono.dev/docs/guides/jsx-dom)\n- [Udibo React App](https://github.com/udibo/react-app)\n- [Examples of SSR using Deno, Oak, and Handlebars](https://github.com/denoland/deno-ssr-examples)\n- [Fresh](https://fresh.deno.dev/) and\n  [Deno SaaSKit](https://github.com/denoland/saaskit)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnashaddams%2Fssr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnashaddams%2Fssr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnashaddams%2Fssr/lists"}