{"id":17351877,"url":"https://github.com/ziir/rsc-demo","last_synced_at":"2025-04-14T20:31:26.532Z","repository":{"id":205975103,"uuid":"715539008","full_name":"ziir/rsc-demo","owner":"ziir","description":"React Server Components (RSC) Demo / Playground without a framework","archived":false,"fork":false,"pushed_at":"2023-11-13T16:56:16.000Z","size":264,"stargazers_count":55,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-28T09:03:07.395Z","etag":null,"topics":["components","javascript","javascript-framework","react","rsc","server"],"latest_commit_sha":null,"homepage":"https://rsc-demo.timtech.blog","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ziir.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-11-07T10:50:55.000Z","updated_at":"2025-01-15T02:36:14.000Z","dependencies_parsed_at":"2023-11-13T17:56:31.898Z","dependency_job_id":null,"html_url":"https://github.com/ziir/rsc-demo","commit_stats":null,"previous_names":["ziir/rsc-demo"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ziir%2Frsc-demo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ziir%2Frsc-demo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ziir%2Frsc-demo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ziir%2Frsc-demo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ziir","download_url":"https://codeload.github.com/ziir/rsc-demo/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248955551,"owners_count":21189160,"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":["components","javascript","javascript-framework","react","rsc","server"],"created_at":"2024-10-15T17:11:34.251Z","updated_at":"2025-04-14T20:31:26.000Z","avatar_url":"https://github.com/ziir.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# React Server Components (RSC) Notes App Demo / Playground without a framework\n\n\u003cimg alt=\"Screenshot of the RSC Notes App Demo / Playground\" src=\"screenshots/react-server-components-rsc-no-framework-demo-screenshot.png\" /\u003e\n\n- See the [Live Server Components (RSC) Notes App Demo / Playground](https://rsc-demo.timtech.blog/)\n- Read the blog post [React Server Components, without a framework](https://timtech.blog/posts/react-server-components-rsc-no-framework/)\n\n## Disclaimer\n\nPlease note, there is absolutely nothing optimal about the following implementation yet, it is purposely naive, incomplete, and is intended for learning \u0026 demo purposes.\n\n## Objectives\n\n- a somewhat functional React Notes App (listing, creating, editing \u0026 deleting notes with a text title \u0026 Markdown content)\n- React Server Components used alongside Client Components\n- some sort of server-side rendering\n- some kind of data-fetching using Server Components\n- routing that somewhat works both in the client \u0026 on the server\n- refreshing server components from the client\n- a usable RSC playground\n- above all else: learn\n\n## Getting Started\n\nDeveloped on Node.js v18.18.1 + npm v9.8.1\n\n- `git clone` this repository\n- `npm ci`\n\n### Dev Environment\n\n- start a Webpack process, watching for changes in `./src` and outputting built files to `./dist`\n- start a Node.js HTTP Server (with Fastify) at http://localhost:3000, watching for changes in `./server`, `./src` \u0026 `./dist` with Nodemon\n\n```\nnpm run dev\n```\n\n### Prod Environment\n\nRun the Webpack build \u0026 start the Node.js HTTP Server, for production.\n\n```\nnpm run build\nnpm start\n```\n\n## Main Dependencies\n\n- [Webpack](https://webpack.js.org) bundler\n- [Babel](https://babeljs.io) JavaScript compiler, for transpiling JSX syntax\n- [Fastify](https://fastify.dev/) for the HTTP web server\n- [a-route](https://github.com/WebReflection/a-route) extremely minimal JavaScript / DOM routing library leveraging Custom Elements\n\n## Misc\n\n- Created by [Timothée “Tim” Pillard](https://timtech.blog/about/) [@tpillard on Twitter](https://twitter.com/tpillard)\n- [\"React Server Components, without a framework\" blog post announcement on Twitter](https://twitter.com/tpillard/status/1721848350813585611)\n- Based on [React Notes App](https://react-notes-app.timtech.blog/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fziir%2Frsc-demo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fziir%2Frsc-demo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fziir%2Frsc-demo/lists"}