{"id":15586601,"url":"https://github.com/sabinadams/react-shared-state-hooks","last_synced_at":"2026-01-08T04:45:46.138Z","repository":{"id":39363486,"uuid":"211622705","full_name":"sabinadams/react-shared-state-hooks","owner":"sabinadams","description":"Example of how to set up a shared state between function components in React using Hooks and the Context API","archived":false,"fork":false,"pushed_at":"2023-12-15T17:48:12.000Z","size":4547,"stargazers_count":0,"open_issues_count":24,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-28T00:59:55.046Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/sabinadams.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-09-29T07:31:34.000Z","updated_at":"2019-09-29T07:34:55.000Z","dependencies_parsed_at":"2024-10-02T21:40:48.195Z","dependency_job_id":"386ecf60-1d5c-466d-ae4b-21a865212c9e","html_url":"https://github.com/sabinadams/react-shared-state-hooks","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/sabinadams%2Freact-shared-state-hooks","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sabinadams%2Freact-shared-state-hooks/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sabinadams%2Freact-shared-state-hooks/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sabinadams%2Freact-shared-state-hooks/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sabinadams","download_url":"https://codeload.github.com/sabinadams/react-shared-state-hooks/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246162147,"owners_count":20733357,"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-02T21:40:40.987Z","updated_at":"2026-01-08T04:45:46.072Z","avatar_url":"https://github.com/sabinadams.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Project's Purpose\n\nExplained in my [article on setting up shared state with react hooks and the context API](https://www.sabinthedev.com/shared-state-with-react-hooks-and-context-api/)\n\nDemonstrates one method of sharing state between function components using React's Hooks and Context API. \n\nThis project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).\n\n## Starting the Demo Application\n\nIn the project directory, you can run:\n\n### `npm 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","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsabinadams%2Freact-shared-state-hooks","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsabinadams%2Freact-shared-state-hooks","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsabinadams%2Freact-shared-state-hooks/lists"}