{"id":21581994,"url":"https://github.com/sudo-self/react-edge","last_synced_at":"2025-03-18T08:20:53.446Z","repository":{"id":209310399,"uuid":"719436336","full_name":"sudo-self/react-edge","owner":"sudo-self","description":null,"archived":false,"fork":false,"pushed_at":"2024-01-26T05:48:12.000Z","size":190,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-24T14:46:51.822Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://react-edge-seven.vercel.app","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/sudo-self.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}},"created_at":"2023-11-16T06:51:04.000Z","updated_at":"2023-11-27T10:19:52.000Z","dependencies_parsed_at":"2023-11-26T16:25:39.045Z","dependency_job_id":"b491b697-889b-4eef-84dc-840be424776e","html_url":"https://github.com/sudo-self/react-edge","commit_stats":null,"previous_names":["sudo-self/react-edge"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sudo-self%2Freact-edge","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sudo-self%2Freact-edge/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sudo-self%2Freact-edge/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sudo-self%2Freact-edge/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sudo-self","download_url":"https://codeload.github.com/sudo-self/react-edge/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244181303,"owners_count":20411605,"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":[],"created_at":"2024-11-24T14:14:22.335Z","updated_at":"2025-03-18T08:20:53.419Z","avatar_url":"https://github.com/sudo-self.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# React on the Edge\n\n[`sveltekit-on-the-edge`](https://sveltekit-on-the-edge.vercel.app/) but on top of React. It uses `esbuild` for bundling and [Vercel Edge Functions](https://vercel.com/edge) for SSR.\n\nRun `pnpm i` then:\n\n- To build: `pnpm build`\n- To run a local server: `pnpm start`\n\nTo build this demo with streaming (`renderToStream`) instead of `renderToString` run `USE_STREAMS=1 pnpm build`.\nAfter building, `.vercel/output` will be created which you can deploy via `vc --prebuilt`.\n\n\n\n- `util/build.mjs` implements the build process on top of `esbuild` that bundles `src/app` into an Edge Function.\n- `util/start.mjs` implements a local server using the `edge-runtime` package that can locally run the build outputs.\n\n\nDue to the absence of a dev server, [`watchexec`](https://github.com/watchexec/watchexec) can be used as a replacement. Use `brew install watchexec` to install.\n\n```bash\nwatchexec -c -r --no-meta 'node util/build.mjs; node util/start.mjs'\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsudo-self%2Freact-edge","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsudo-self%2Freact-edge","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsudo-self%2Freact-edge/lists"}