{"id":15311802,"url":"https://github.com/aslemammad/snowpack-react-ssr","last_synced_at":"2025-10-08T21:30:48.017Z","repository":{"id":105997772,"uuid":"314961797","full_name":"Aslemammad/snowpack-react-ssr","owner":"Aslemammad","description":"minimal example using snowpack and react server side rendering","archived":false,"fork":true,"pushed_at":"2020-10-31T16:05:14.000Z","size":1030,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-05-02T05:21:11.995Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"matthoffner/snowpack-react-ssr","license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Aslemammad.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":"2020-11-22T04:50:14.000Z","updated_at":"2022-02-08T09:03:15.000Z","dependencies_parsed_at":null,"dependency_job_id":"eccbe108-2f69-4df1-96ea-66e3e0639cb2","html_url":"https://github.com/Aslemammad/snowpack-react-ssr","commit_stats":{"total_commits":29,"total_committers":4,"mean_commits":7.25,"dds":"0.48275862068965514","last_synced_commit":"d3e479a9da22c69054473f8a1dc70f78ca40585c"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Aslemammad%2Fsnowpack-react-ssr","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Aslemammad%2Fsnowpack-react-ssr/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Aslemammad%2Fsnowpack-react-ssr/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Aslemammad%2Fsnowpack-react-ssr/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Aslemammad","download_url":"https://codeload.github.com/Aslemammad/snowpack-react-ssr/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":219877266,"owners_count":16554910,"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-10-01T08:34:36.630Z","updated_at":"2025-10-08T21:30:42.702Z","avatar_url":"https://github.com/Aslemammad.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# snowpack-react-ssr\n\nMinimal example using React server side rendering with snowpack.\n\n## Features\n\n- Babel node for server side jsx support\n- `renderToNodeStream` for improved server rendering performance\n- React Refresh works via Snowpack\n- Inlines CSS server side for optimal first contentful paint\n\n## Usage\n\n```sh\nnpm install\n```\n\n```sh\nnpm run start\n```\n\nThis will launch a server and client dev server, they can be invoked separately:\n\n```sh\nnpm run server\n```\n\nWill run on port 3000 by default.\n\n```sh\nnpm run client\n```\n\nWill run on port 8080 by default.\n\nServer reloading conflicts with hot reloading since a full refresh is needed for server rendered html updates to show. Included is a separate npm script that will restart the server when changes are made to the src directory.\n\n```sh\nnpm run serve\n```\n\n## Production build\n\n```sh\nnpm run build\n```\n\nIncluded is the webpack plugin to optimize the client build. Also included is `modulepreload` script tags. To run the server in production mode:\n\n```sh\nnpm run production\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faslemammad%2Fsnowpack-react-ssr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faslemammad%2Fsnowpack-react-ssr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faslemammad%2Fsnowpack-react-ssr/lists"}