{"id":20080583,"url":"https://github.com/threepointone/react-ppr-workers","last_synced_at":"2025-08-22T05:30:50.006Z","repository":{"id":259796160,"uuid":"861830858","full_name":"threepointone/react-ppr-workers","owner":"threepointone","description":"Partial Prerendering with React and Cloudflare Workers","archived":false,"fork":false,"pushed_at":"2024-10-28T01:58:56.000Z","size":189,"stargazers_count":49,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-11-23T13:12:40.244Z","etag":null,"topics":["cloudflare-workers","ppr","react","ssr"],"latest_commit_sha":null,"homepage":"https://react-ppr-workers.threepointone.workers.dev/","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/threepointone.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":"2024-09-23T15:25:21.000Z","updated_at":"2024-11-07T00:01:09.000Z","dependencies_parsed_at":"2024-10-31T08:46:05.443Z","dependency_job_id":null,"html_url":"https://github.com/threepointone/react-ppr-workers","commit_stats":null,"previous_names":["threepointone/react-ppr-workers"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/threepointone%2Freact-ppr-workers","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/threepointone%2Freact-ppr-workers/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/threepointone%2Freact-ppr-workers/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/threepointone%2Freact-ppr-workers/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/threepointone","download_url":"https://codeload.github.com/threepointone/react-ppr-workers/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":230561013,"owners_count":18245324,"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":["cloudflare-workers","ppr","react","ssr"],"created_at":"2024-11-13T15:29:13.477Z","updated_at":"2024-12-20T09:06:11.150Z","avatar_url":"https://github.com/threepointone.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Partial Prerendering with React and Cloudflare Workers\n\nThis is a demo of a React app that implements partial prerendering with React and Cloudflare Workers. It's meant to accompany [this blog post](https://sunilpai-dev.pages.dev/posts/ppr-for-everyone/). Live demo at [https://react-ppr-workers.threepointone.workers.dev/](https://react-ppr-workers.threepointone.workers.dev/)\n\n### Here's the timeline of what happens when you visit the site:\n\n- A response stream is started from the eyeball worker\n- It immediately streams a prerendered html app \"shell\"\n- The request is passed on to the a smart placed worker near the database\n- React kicks in and starts rendering\n- The app renders and generates html / script tags with out-of-order streaming\n- This is streamed back to the user through the eyeball\n\n## Setup\n\n- `npm install`\n- Setup a \"pokemon\" database on [Cloudflare D1](https://developers.cloudflare.com/d1/get-started/) with [`init.sql`](./init.sql)\n- `npm start` to run the dev server(s)\n- `npm run deploy` to deploy to Cloudflare Workers\n\n### Credit\n\nOriginal repo by [@rauchg](https://github.com/rauchg/how-is-this-not-illegal)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthreepointone%2Freact-ppr-workers","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthreepointone%2Freact-ppr-workers","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthreepointone%2Freact-ppr-workers/lists"}