{"id":21678534,"url":"https://github.com/js2me/react-simple-loadable","last_synced_at":"2025-06-25T23:04:31.316Z","repository":{"id":264474178,"uuid":"893505056","full_name":"js2me/react-simple-loadable","owner":"js2me","description":"Really simple React Loadable component","archived":false,"fork":false,"pushed_at":"2025-06-20T05:28:50.000Z","size":147,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-20T05:35:50.271Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/js2me.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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,"zenodo":null}},"created_at":"2024-11-24T16:08:55.000Z","updated_at":"2025-06-20T05:28:48.000Z","dependencies_parsed_at":"2025-05-09T01:32:37.183Z","dependency_job_id":"36e09825-2759-486b-b4d7-57ebbd45565b","html_url":"https://github.com/js2me/react-simple-loadable","commit_stats":null,"previous_names":["js2me/react-simple-loadable"],"tags_count":9,"template":false,"template_full_name":null,"purl":"pkg:github/js2me/react-simple-loadable","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/js2me%2Freact-simple-loadable","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/js2me%2Freact-simple-loadable/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/js2me%2Freact-simple-loadable/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/js2me%2Freact-simple-loadable/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/js2me","download_url":"https://codeload.github.com/js2me/react-simple-loadable/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/js2me%2Freact-simple-loadable/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261073296,"owners_count":23105637,"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-25T14:37:26.551Z","updated_at":"2025-06-25T23:04:31.292Z","avatar_url":"https://github.com/js2me.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# React Simple Loadable HOC\n\nThis is simple loadable component based on Class React Component  \n\n## Usage  \n\n```tsx\nimport { loadable } from \"react-simple-loadable\";\n\nloadable(async () =\u003e {\n  return (await import('./your-component')).YourNamedComponent\n}, \n  SkeletonComponent\n)\n```\n\n```tsx\nimport { loadable } from \"react-simple-loadable\";\n\nloadable(async () =\u003e {\n  return (await import('./your-component')).YourNamedComponent\n},{\n  loader: SkeletonComponent,\n  extra: () =\u003e \u003cdiv\u003erenders with the lazy component\u003c/div\u003e\n})\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjs2me%2Freact-simple-loadable","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjs2me%2Freact-simple-loadable","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjs2me%2Freact-simple-loadable/lists"}