{"id":15504759,"url":"https://github.com/alanbsmith/composite-component-pattern","last_synced_at":"2025-03-28T18:44:23.092Z","repository":{"id":78447946,"uuid":"183239590","full_name":"alanbsmith/composite-component-pattern","owner":"alanbsmith","description":"A small example of the composite component pattern","archived":false,"fork":false,"pushed_at":"2019-04-24T13:55:47.000Z","size":288,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-02T19:34:13.022Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://alanbsmith.github.io/composite-component-pattern/","language":"JavaScript","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/alanbsmith.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":"2019-04-24T13:54:58.000Z","updated_at":"2019-05-05T11:50:30.000Z","dependencies_parsed_at":"2023-04-22T21:15:42.653Z","dependency_job_id":null,"html_url":"https://github.com/alanbsmith/composite-component-pattern","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alanbsmith%2Fcomposite-component-pattern","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alanbsmith%2Fcomposite-component-pattern/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alanbsmith%2Fcomposite-component-pattern/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alanbsmith%2Fcomposite-component-pattern/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alanbsmith","download_url":"https://codeload.github.com/alanbsmith/composite-component-pattern/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246083087,"owners_count":20720909,"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-10-02T09:19:52.906Z","updated_at":"2025-03-28T18:44:23.087Z","avatar_url":"https://github.com/alanbsmith.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Composite Component Pattern Example\n\n## Overview\n\nThis is a small example of the composite component pattern described [here](https://medium.com/@_alanbsmith/composite-component-pattern-6331ebcbe07b). TL;DR: Composites divide responsibilities between three component-types:\n\n* Connectors - responsible for handilng application data and providing its child components\n* Components - responsible for handling UI logic and state\n* Blocks / Elements - responsible for styling\n\n## Up \u0026 Running\n\nFirst, install dependencies:\n\n```sh\nyarn install\n```\n\nThen start the server:\n\n```\nnpm start\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falanbsmith%2Fcomposite-component-pattern","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falanbsmith%2Fcomposite-component-pattern","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falanbsmith%2Fcomposite-component-pattern/lists"}