{"id":17353708,"url":"https://github.com/salvoravida/react-with-suspense-lazy","last_synced_at":"2025-04-14T21:46:38.748Z","repository":{"id":35206973,"uuid":"216001508","full_name":"salvoravida/react-with-suspense-lazy","owner":"salvoravida","description":":tada: React lazy import with suspense. Easy alternative to react-loadable. Enable webpack chunks split.","archived":false,"fork":false,"pushed_at":"2023-03-04T04:58:34.000Z","size":308,"stargazers_count":7,"open_issues_count":4,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-28T09:51:31.946Z","etag":null,"topics":["chunks","import","lazy","loadable","react","react-loadable","split","suspense","webpack"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/salvoravida.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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}},"created_at":"2019-10-18T10:40:44.000Z","updated_at":"2023-03-09T04:03:44.000Z","dependencies_parsed_at":"2024-11-27T06:47:59.605Z","dependency_job_id":null,"html_url":"https://github.com/salvoravida/react-with-suspense-lazy","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/salvoravida%2Freact-with-suspense-lazy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/salvoravida%2Freact-with-suspense-lazy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/salvoravida%2Freact-with-suspense-lazy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/salvoravida%2Freact-with-suspense-lazy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/salvoravida","download_url":"https://codeload.github.com/salvoravida/react-with-suspense-lazy/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248967177,"owners_count":21190905,"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":["chunks","import","lazy","loadable","react","react-loadable","split","suspense","webpack"],"created_at":"2024-10-15T17:17:46.045Z","updated_at":"2025-04-14T21:46:38.729Z","avatar_url":"https://github.com/salvoravida.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"react-with-suspense-lazy\n---\n\nReact lazy import with suspense. Easy alternative to https://github.com/jamiebuilds/react-loadable\n\nEnable webpack chunks split.\n\nInstallation\n-----------\nUsing [npm](https://www.npmjs.com/):\n\n    $ npm install --save react-with-suspense-lazy\n\nOr [yarn](https://yarnpkg.com/):\n\n    $ yarn add react-with-suspense-lazy\n\nUsage\n-----\n\nindex.js\n\n```javascript\nimport { withSuspenseLazy } from 'react-with-suspense-lazy'\n\nexport const MyComponent = withSuspenseLazy(() =\u003e import('./MyComponent'));\n```\n\nwith loading fallback like spinners, etc...\n\n```javascript\nimport { withSuspenseLazy } from 'react-with-suspense-lazy'\nimport Loading from './Loading';\n\nexport const MyComponent = withSuspenseLazy(() =\u003e import('./MyComponent'), Loading);\n```\n\n# Feedback\n\nLet me know what do you think about! \u003cbr\u003e\n*Enjoy it? Star this project!* :D\n\nContributors\n------------\nSee [Contributors](https://github.com/salvoravida/react-with-suspense-lazy/graphs/contributors).\n\nLicense\n-------\n[MIT License](https://github.com/salvoravida/react-with-suspense-lazy/blob/master/LICENSE.md).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsalvoravida%2Freact-with-suspense-lazy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsalvoravida%2Freact-with-suspense-lazy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsalvoravida%2Freact-with-suspense-lazy/lists"}