{"id":18622459,"url":"https://github.com/mindreframer/vitejs-react-bundle-split-example","last_synced_at":"2026-05-03T23:31:33.210Z","repository":{"id":66494842,"uuid":"353408712","full_name":"mindreframer/vitejs-react-bundle-split-example","owner":"mindreframer","description":"Minimal dependency-free showcase for code-splitting in Vite.js (v2) + React","archived":false,"fork":false,"pushed_at":"2021-03-31T16:22:10.000Z","size":22,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-08-31T09:38:24.485Z","etag":null,"topics":["bundling","codesplitting","vitejs"],"latest_commit_sha":null,"homepage":"","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/mindreframer.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-03-31T15:45:10.000Z","updated_at":"2021-03-31T16:23:23.000Z","dependencies_parsed_at":"2023-02-21T13:00:28.853Z","dependency_job_id":null,"html_url":"https://github.com/mindreframer/vitejs-react-bundle-split-example","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mindreframer/vitejs-react-bundle-split-example","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mindreframer%2Fvitejs-react-bundle-split-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mindreframer%2Fvitejs-react-bundle-split-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mindreframer%2Fvitejs-react-bundle-split-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mindreframer%2Fvitejs-react-bundle-split-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mindreframer","download_url":"https://codeload.github.com/mindreframer/vitejs-react-bundle-split-example/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mindreframer%2Fvitejs-react-bundle-split-example/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32588996,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-03T22:12:39.696Z","status":"ssl_error","status_checked_at":"2026-05-03T22:09:10.534Z","response_time":103,"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":["bundling","codesplitting","vitejs"],"created_at":"2024-11-07T04:17:09.455Z","updated_at":"2026-05-03T23:31:33.205Z","avatar_url":"https://github.com/mindreframer.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"### Minimal dependency-free showcase for code-splitting in Vite.js (v2) + React\n\n- uses convention to load pages (/pages/Page\\*.tsx)\n- generates the pagesMap.ts file (to keep the mapping automated) - `yarn gen:pageMap`\n- provides a loading component\n\n### Useful links:\n\n- https://vitejs.dev/guide/features.html#glob-import\n- https://github.com/mrmlnc/fast-glob#pattern-syntax\n- https://twitter.com/youyuxi/status/1351355267296993280 (With import.meta.glob you don't really need plugins for Next/Nuxt-style file-system routing in Vite - and it works with SSR already )\n- https://github.com/vitejs/vite/issues/1875\n\n### Alternatives, that did not work out (still useful to see the concepts)\n\n⏳ A higher order component for loading components with promises.\n\n- https://github.com/jamiebuilds/react-loadable\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmindreframer%2Fvitejs-react-bundle-split-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmindreframer%2Fvitejs-react-bundle-split-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmindreframer%2Fvitejs-react-bundle-split-example/lists"}