{"id":18862738,"url":"https://github.com/verydanny/preact-nextjs-shenanigans","last_synced_at":"2026-02-10T16:30:14.593Z","repository":{"id":177601684,"uuid":"377860249","full_name":"verydanny/preact-nextjs-shenanigans","owner":"verydanny","description":"Shows stack overflow with NextJS webpack 5 + dynamic components + Preact refresh","archived":false,"fork":false,"pushed_at":"2021-07-01T21:34:37.000Z","size":40,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-12-30T21:16:22.366Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/verydanny.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":"2021-06-17T14:31:52.000Z","updated_at":"2021-07-01T21:34:40.000Z","dependencies_parsed_at":null,"dependency_job_id":"6a29a346-b065-4c37-8d1a-b68de8356720","html_url":"https://github.com/verydanny/preact-nextjs-shenanigans","commit_stats":null,"previous_names":["verydanny/preact-nextjs-shenanigans"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/verydanny%2Fpreact-nextjs-shenanigans","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/verydanny%2Fpreact-nextjs-shenanigans/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/verydanny%2Fpreact-nextjs-shenanigans/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/verydanny%2Fpreact-nextjs-shenanigans/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/verydanny","download_url":"https://codeload.github.com/verydanny/preact-nextjs-shenanigans/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239808141,"owners_count":19700440,"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-08T04:35:36.813Z","updated_at":"2026-02-10T16:30:14.561Z","avatar_url":"https://github.com/verydanny.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Preact example\n\nThis example uses [Preact](https://github.com/preactjs/preact) instead of React. It's a React like UI framework which is fast and small.\n\n## Preview\n\nPreview the example live on [StackBlitz](http://stackblitz.com/):\n\n[![Open in StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/github/vercel/next.js/tree/canary/examples/using-preact)\n\n## How to use\n\nExecute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example:\n\n```bash\nnpx create-next-app --example using-preact using-preact-app\n# or\nyarn create next-app --example using-preact using-preact-app\n```\n\nDeploy it to the cloud with [Vercel](https://vercel.com/new?utm_source=github\u0026utm_medium=readme\u0026utm_campaign=next-example) ([Documentation](https://nextjs.org/docs/deployment)).\n\n### Aliasing react -\u003e preact\n\nUsing `preact` with `next.js` depends on aliasing react packages to preact ones (like `@preact/compat`). This is done directly in the [`package.json`](./package.json) dependencies.\n\n### next-plugin-preact\n\nThis example was [updated](https://github.com/vercel/next.js/pull/18588) to use [`next-plugin-preact`](https://github.com/preactjs/next-plugin-preact) and now requires minimal configuration, if you want to add preact without a plugin, or see how it works, head to the previous [`next.config.js`](https://github.com/vercel/next.js/blob/629884af7d3ced97b8c2ec7aebdfb1a3a5d808f0/examples/using-preact/next.config.js).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fverydanny%2Fpreact-nextjs-shenanigans","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fverydanny%2Fpreact-nextjs-shenanigans","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fverydanny%2Fpreact-nextjs-shenanigans/lists"}