{"id":22019189,"url":"https://github.com/iamdevvalecha/with-loading","last_synced_at":"2026-04-13T16:05:14.486Z","repository":{"id":104489454,"uuid":"356960234","full_name":"iamdevvalecha/with-loading","owner":"iamdevvalecha","description":null,"archived":false,"fork":false,"pushed_at":"2021-04-11T19:27:41.000Z","size":2,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-23T09:48:43.358Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"open-event-next-iamdevvalecha.vercel.app","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/iamdevvalecha.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-04-11T19:27:34.000Z","updated_at":"2021-04-11T19:28:32.000Z","dependencies_parsed_at":null,"dependency_job_id":"f63e154d-a655-40c5-b0bb-27f158abf6ab","html_url":"https://github.com/iamdevvalecha/with-loading","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/iamdevvalecha/with-loading","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iamdevvalecha%2Fwith-loading","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iamdevvalecha%2Fwith-loading/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iamdevvalecha%2Fwith-loading/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iamdevvalecha%2Fwith-loading/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/iamdevvalecha","download_url":"https://codeload.github.com/iamdevvalecha/with-loading/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iamdevvalecha%2Fwith-loading/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31759609,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-13T15:25:13.801Z","status":"ssl_error","status_checked_at":"2026-04-13T15:25:09.162Z","response_time":93,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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-30T05:16:15.844Z","updated_at":"2026-04-13T16:05:14.481Z","avatar_url":"https://github.com/iamdevvalecha.png","language":"JavaScript","readme":"# Example app with page loading indicator\n\nSometimes when switching between pages, Next.js needs to download pages(chunks) from the server before rendering the page. And it may also need to wait for the data. So while doing these tasks, the browser might be non responsive.\n\nWe can simply fix this issue by showing a loading indicator. That's what this examples shows.\n\nIt features:\n\n- An app with two pages which uses a common [Header](./components/Header.js) component for navigation links.\n- Using `next/router` to identify different router events\n- Uses [nprogress](https://github.com/rstacruz/nprogress) as the loading indicator.\n\n## Deploy your own\n\nDeploy the example using [Vercel](https://vercel.com?utm_source=github\u0026utm_medium=readme\u0026utm_campaign=next-example):\n\n[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/git/external?repository-url=https://github.com/vercel/next.js/tree/canary/examples/with-loading\u0026project-name=with-loading\u0026repository-name=with-loading)\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 with-loading with-loading-app\n# or\nyarn create next-app --example with-loading with-loading-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","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiamdevvalecha%2Fwith-loading","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fiamdevvalecha%2Fwith-loading","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiamdevvalecha%2Fwith-loading/lists"}