{"id":16292485,"url":"https://github.com/exogen/next-modal-pages","last_synced_at":"2025-03-20T03:30:50.137Z","repository":{"id":36713564,"uuid":"197866455","full_name":"exogen/next-modal-pages","owner":"exogen","description":"For demonstration purposes only.","archived":false,"fork":false,"pushed_at":"2023-01-04T04:52:54.000Z","size":1101,"stargazers_count":21,"open_issues_count":16,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-16T14:53:56.704Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/exogen.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}},"created_at":"2019-07-20T01:59:41.000Z","updated_at":"2021-10-14T01:09:38.000Z","dependencies_parsed_at":"2023-01-17T04:30:19.648Z","dependency_job_id":null,"html_url":"https://github.com/exogen/next-modal-pages","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/exogen%2Fnext-modal-pages","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/exogen%2Fnext-modal-pages/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/exogen%2Fnext-modal-pages/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/exogen%2Fnext-modal-pages/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/exogen","download_url":"https://codeload.github.com/exogen/next-modal-pages/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244543734,"owners_count":20469552,"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-10T20:07:05.599Z","updated_at":"2025-03-20T03:30:49.842Z","avatar_url":"https://github.com/exogen.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Next.js Modal Pages Demo\n\n```\n$ yarn\n$ yarn start\n```\n\n## How Does It Work?\n\n- Page updates in Next.js route transitions are performed by unmounting the\n  previous page component and mounting the next one.\n- In `_app.js`, you have the ability to render additional content besides just\n  the current page component (in fact you could skip rendering the page\n  component entirely if you wanted).\n- So, this demo renders a component in `_app.js` that keeps track of the\n  previously rendered page components. When the latest page is rendered and\n  given a `modal` query param, the page is pushed onto a stack instead of\n  completely replacing the previous one.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fexogen%2Fnext-modal-pages","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fexogen%2Fnext-modal-pages","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fexogen%2Fnext-modal-pages/lists"}