{"id":20511370,"url":"https://github.com/friedrith/react-composition","last_synced_at":"2025-07-21T11:33:23.267Z","repository":{"id":185729343,"uuid":"670572539","full_name":"friedrith/react-composition","owner":"friedrith","description":"How to manage composition in React","archived":false,"fork":false,"pushed_at":"2025-02-27T16:07:59.000Z","size":14501,"stargazers_count":9,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-02T08:18:17.147Z","etag":null,"topics":["craftsmanship","meetup","react","talk"],"latest_commit_sha":null,"homepage":"https://friedrith.github.io/react-composition/","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/friedrith.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":"2023-07-25T10:57:17.000Z","updated_at":"2025-02-27T16:05:55.000Z","dependencies_parsed_at":null,"dependency_job_id":"2529e85a-79e6-4bab-a72d-a5fac3ad6ac6","html_url":"https://github.com/friedrith/react-composition","commit_stats":null,"previous_names":["friedrith/react-composition"],"tags_count":2,"template":true,"template_full_name":null,"purl":"pkg:github/friedrith/react-composition","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/friedrith%2Freact-composition","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/friedrith%2Freact-composition/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/friedrith%2Freact-composition/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/friedrith%2Freact-composition/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/friedrith","download_url":"https://codeload.github.com/friedrith/react-composition/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/friedrith%2Freact-composition/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266291911,"owners_count":23906356,"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":["craftsmanship","meetup","react","talk"],"created_at":"2024-11-15T20:35:44.614Z","updated_at":"2025-07-21T11:33:23.251Z","avatar_url":"https://github.com/friedrith.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n  \u003ch3 text-align=\"center\"\u003e\n    SOLID Principles in React \u0026 Composition Pattern\n  \u003c/h3\u003e\n  \u003cp align=\"center\"\u003e\n    \u003ca href=\"https://friedrith.github.io/react-composition\"\u003eDemo\u003c/a\u003e | \u003ca href=\"https://friedrith.github.io/react-composition/slides\"\u003eSlides\u003c/a\u003e | \u003ca href=\"https://thibault-friedrich.medium.com/keep-your-react-components-maintainable-with-solid-react-composition-codecraftsmanship-4-2969834e9ffa\"\u003eArticle\u003c/a\u003e\n  \u003c/p\u003e\n\n  \u003cimg src=\".assets/screenshot.png\" alt=\"Screenshot\" height=\"300\" /\u003e\n\u003c/div\u003e\n\nThis is a demo project to show how to use composition pattern in React. It is part of a speech at the [React \u0026 React Native MTL Monthly Meetup](https://www.meetup.com/react-mtl/events/294497412/) of November 2023.\n\n## Getting started\n\n```bash\npnpm install\npnpm dev\n```\n\n## Versions\n\nSeveral versions of this project are available:\n\n- [First version](https://github.com/friedrith/react-composition/tree/react-montreal-meetup) presented at the [React \u0026 React Native MTL Monthly Meetup](https://www.meetup.com/react-mtl/events/294497412/) of November 2023.\n- [Second version](https://github.com/friedrith/react-composition/master) presented at the [Confoo Conference](https://confoo.ca/en/2025) of February 2025.\n\n## License\n\nDistributed under the MIT License. See [LICENSE](./LICENSE) for more information.\n\n## Acknowledgements\n\n- [React](https://reactjs.org/)\n- [Tailwind](https://tailwindcss.com/)\n- [Headless UI](https://headlessui.dev/)\n- [Github Actions](https://github.com/features/actions)\n- [Neumorphism](https://neumorphism.io)\n- [cloneElement](https://react.dev/reference/react/cloneElement)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffriedrith%2Freact-composition","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffriedrith%2Freact-composition","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffriedrith%2Freact-composition/lists"}