{"id":28413341,"url":"https://github.com/vikbert/react-pattern","last_synced_at":"2025-06-24T20:30:50.278Z","repository":{"id":39426226,"uuid":"202422228","full_name":"vikbert/react-pattern","owner":"vikbert","description":"React Desgin Pattern with Demos","archived":false,"fork":false,"pushed_at":"2023-01-04T21:57:30.000Z","size":3619,"stargazers_count":1,"open_issues_count":22,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-03T15:26:34.630Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/vikbert.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}},"created_at":"2019-08-14T20:35:51.000Z","updated_at":"2023-03-09T00:58:22.000Z","dependencies_parsed_at":"2023-02-02T21:17:00.385Z","dependency_job_id":null,"html_url":"https://github.com/vikbert/react-pattern","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/vikbert/react-pattern","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vikbert%2Freact-pattern","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vikbert%2Freact-pattern/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vikbert%2Freact-pattern/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vikbert%2Freact-pattern/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vikbert","download_url":"https://codeload.github.com/vikbert/react-pattern/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vikbert%2Freact-pattern/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261751429,"owners_count":23204421,"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":"2025-06-03T04:33:57.132Z","updated_at":"2025-06-24T20:30:50.266Z","avatar_url":"https://github.com/vikbert.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# React Design Pattern\n\n## 01: Render Props\nResource for further reading:\n\n\u003chttps://css-tricks.com/an-overview-of-render-props-in-react/\u003e\n\n\n\n## 02: HOC\nA higher-order component is actually not a component though, it is a function. A HOC function \ntakes a component as an argument and returns a enhanced component. It transforms a component into another \ncomponent and adds additional data or functionality.\n## Getting Start\n```\nyarn install\n```\n\n## Available Scripts\n\nIn the project directory, you can run:\n\n### `yarn start`\n\nRuns the app in the development mode.\u003cbr\u003e\nOpen [http://localhost:3000](http://localhost:3000) to view it in the browser.\n\nThe page will reload if you make edits.\u003cbr\u003e\nYou will also see any lint errors in the console.\n\n### `yarn test`\n\nLaunches the test runner in the interactive watch mode.\u003cbr\u003e\nSee the section about [running tests](https://facebook.github.io/create-react-app/docs/running-tests) for more information.\n\n### `yarn run build`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvikbert%2Freact-pattern","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvikbert%2Freact-pattern","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvikbert%2Freact-pattern/lists"}