{"id":20680740,"url":"https://github.com/nilshartmann/hello-nextjs-parallel","last_synced_at":"2025-10-16T14:40:02.851Z","repository":{"id":239814882,"uuid":"696465832","full_name":"nilshartmann/hello-nextjs-parallel","owner":"nilshartmann","description":"Next.js parallel route (failing) example","archived":false,"fork":false,"pushed_at":"2023-09-25T19:52:33.000Z","size":46,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-08T18:08:48.557Z","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/nilshartmann.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":"2023-09-25T19:52:22.000Z","updated_at":"2023-09-25T19:52:37.000Z","dependencies_parsed_at":"2024-05-15T15:40:33.128Z","dependency_job_id":"fdf793ca-79e4-4790-a49a-61cc46a658bc","html_url":"https://github.com/nilshartmann/hello-nextjs-parallel","commit_stats":null,"previous_names":["nilshartmann/hello-nextjs-parallel"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nilshartmann%2Fhello-nextjs-parallel","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nilshartmann%2Fhello-nextjs-parallel/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nilshartmann%2Fhello-nextjs-parallel/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nilshartmann%2Fhello-nextjs-parallel/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nilshartmann","download_url":"https://codeload.github.com/nilshartmann/hello-nextjs-parallel/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242917160,"owners_count":20206476,"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-16T21:35:02.950Z","updated_at":"2025-10-16T14:39:57.795Z","avatar_url":"https://github.com/nilshartmann.png","language":"TypeScript","readme":"# Parallel Routes example\n\n- Motivation: in `/user/layout.tsx` I want to add a `header` component from `user/[userId]`\n- While this approach in general seems to work, all routes in `user/[userId]` are rendered twice\n  - (see build output when running `pnpm build`)\n  - at runtime, you have to click on a link for the next user twice to make it work\n    - clicking the link after that again it works correctly, probably because its coming from the cache then\n  - `user` route is generated and rendered correctly (one time)\n\n# Try out\n\n* pnpm install\n* pnpm build\n* pnpm start\n* App runs on http://localhost:4001\n* Output `Header from /user/XXX` is inserted via parallel route/slot `@header` into `/user`-Layout component","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnilshartmann%2Fhello-nextjs-parallel","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnilshartmann%2Fhello-nextjs-parallel","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnilshartmann%2Fhello-nextjs-parallel/lists"}