{"id":17349229,"url":"https://github.com/co2-git/react-ez-store","last_synced_at":"2025-03-27T11:44:25.624Z","repository":{"id":68259282,"uuid":"158570550","full_name":"co2-git/react-ez-store","owner":"co2-git","description":"Easily share data across different React components. Like Redux or mobx, but dead simpler!","archived":false,"fork":false,"pushed_at":"2018-12-10T22:41:36.000Z","size":77,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-01T16:23:16.779Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/co2-git.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":"2018-11-21T15:40:18.000Z","updated_at":"2018-12-10T22:41:38.000Z","dependencies_parsed_at":"2023-02-23T04:30:48.901Z","dependency_job_id":null,"html_url":"https://github.com/co2-git/react-ez-store","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/co2-git%2Freact-ez-store","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/co2-git%2Freact-ez-store/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/co2-git%2Freact-ez-store/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/co2-git%2Freact-ez-store/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/co2-git","download_url":"https://codeload.github.com/co2-git/react-ez-store/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245841691,"owners_count":20681184,"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-15T16:55:07.259Z","updated_at":"2025-03-27T11:44:25.597Z","avatar_url":"https://github.com/co2-git.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"react-store\n===\n\nReact store\n\n# Install\n\n```bash\n# with yarn\nyarn add @francoisv/react-store\n\n# with npm\nnpm i -S @francoisv/react-store\n```\n\n# Click counter example\n\n```jsx\nimport React from 'react'\nimport store, { withStore } from '@francoisv/react-store'\n\nconst counter = store.number(0)\n\nconst ClickCounter = withStore(counter)(() =\u003e (\n  \u003cdiv\u003e\n    \u003cdiv\u003eClicked { store.get(counter) }\u003c/div\u003e\n    \u003cbutton onClick={ () =\u003e store.increment(counter) }\u003eClick\u003c/button\u003e\n  \u003c/div\u003e\n))\n```\n\nMore examples in the [wiki](https://github.com/co2-git/react-ez-store/wiki)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fco2-git%2Freact-ez-store","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fco2-git%2Freact-ez-store","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fco2-git%2Freact-ez-store/lists"}