{"id":19232111,"url":"https://github.com/horusgoul/react-component-pack","last_synced_at":"2025-07-22T05:03:45.705Z","repository":{"id":36257262,"uuid":"222086971","full_name":"HorusGoul/react-component-pack","owner":"HorusGoul","description":"Library that allows you to create context provider groups","archived":false,"fork":false,"pushed_at":"2023-01-05T01:04:43.000Z","size":1848,"stargazers_count":37,"open_issues_count":14,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-07-04T16:58:07.075Z","etag":null,"topics":["library","providers","react","utility"],"latest_commit_sha":null,"homepage":"","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/HorusGoul.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}},"created_at":"2019-11-16T11:08:03.000Z","updated_at":"2023-05-10T01:35:06.000Z","dependencies_parsed_at":"2023-01-16T23:53:12.136Z","dependency_job_id":null,"html_url":"https://github.com/HorusGoul/react-component-pack","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/HorusGoul/react-component-pack","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HorusGoul%2Freact-component-pack","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HorusGoul%2Freact-component-pack/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HorusGoul%2Freact-component-pack/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HorusGoul%2Freact-component-pack/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/HorusGoul","download_url":"https://codeload.github.com/HorusGoul/react-component-pack/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HorusGoul%2Freact-component-pack/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266430672,"owners_count":23927166,"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","status":"online","status_checked_at":"2025-07-22T02:00:09.085Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"robots_txt_url":"https://github.com/robots.txt","online":true,"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":["library","providers","react","utility"],"created_at":"2024-11-09T16:05:23.641Z","updated_at":"2025-07-22T05:03:45.660Z","avatar_url":"https://github.com/HorusGoul.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# React Component Pack · [![npm version](https://img.shields.io/npm/v/react-component-pack.svg)](https://www.npmjs.com/package/react-component-pack) [![license](https://img.shields.io/npm/l/react-component-pack.svg?color=blue)](./LICENSE)\n\nSay goodbye to provider hell with react-component-pack, a utility that allows you to group multiple components into a single one\n\n```bash\nnpm install react-component-pack\n```\n\n## Usage\n\nWith `react-component-pack` you can go from this:\n\n```jsx\nfunction App() {\n  return (\n    \u003cAuthProvider\u003e\n      \u003cDataProvider\u003e\n        \u003cAnotherDataProvider\u003e\n          \u003cWtfProvider\u003e\n            \u003cThisIsGettingReallyBigProvider\u003e\n              \u003cOhMyGodTheresMoreProvider\u003e\n                \u003cFinallySomeRealComponents /\u003e\n              \u003c/OhMyGodTheresMoreProvider\u003e\n            \u003c/ThisIsGettingReallyBigProvider\u003e\n          \u003c/WtfProvider\u003e\n        \u003c/AnotherDataProvider\u003e\n      \u003c/DataProvider\u003e\n    \u003c/AuthProvider\u003e\n  );\n}\n```\n\nTo this:\n\n```jsx\nimport { createPack } from 'react-component-pack';\n\nconst ProviderPack = createPack(\n  AuthProvider,\n  DataProvider,\n  AnotherDataProvider,\n  WtfProvider,\n  ThisIsGettingReallyBigProvider,\n  OhMyGodTheresMoreProvider\n);\n\nfunction App() {\n  return (\n    \u003cProviderPack\u003e\n      \u003cFinallySomeRealComponents /\u003e\n    \u003c/ProviderPack\u003e\n  );\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhorusgoul%2Freact-component-pack","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhorusgoul%2Freact-component-pack","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhorusgoul%2Freact-component-pack/lists"}