{"id":13526864,"url":"https://github.com/didierfranc/react-waterfall","last_synced_at":"2025-04-11T11:48:38.636Z","repository":{"id":29621044,"uuid":"122267528","full_name":"didierfranc/react-waterfall","owner":"didierfranc","description":"React store built on top of the new context API","archived":false,"fork":false,"pushed_at":"2023-11-24T09:58:01.000Z","size":2471,"stargazers_count":1326,"open_issues_count":57,"forks_count":77,"subscribers_count":22,"default_branch":"master","last_synced_at":"2025-03-27T22:08:34.174Z","etag":null,"topics":["context","flux","javascript","reactjs","redux"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/didierfranc.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}},"created_at":"2018-02-20T23:01:14.000Z","updated_at":"2025-02-11T15:50:13.000Z","dependencies_parsed_at":"2024-02-04T16:19:55.938Z","dependency_job_id":"517c533b-a80d-4d33-9ba3-ae1b5d437829","html_url":"https://github.com/didierfranc/react-waterfall","commit_stats":{"total_commits":52,"total_committers":10,"mean_commits":5.2,"dds":0.4807692307692307,"last_synced_commit":"ee9ec6fbb7e815cd81418c47187524d21a1a102f"},"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/didierfranc%2Freact-waterfall","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/didierfranc%2Freact-waterfall/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/didierfranc%2Freact-waterfall/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/didierfranc%2Freact-waterfall/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/didierfranc","download_url":"https://codeload.github.com/didierfranc/react-waterfall/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247092390,"owners_count":20882218,"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":["context","flux","javascript","reactjs","redux"],"created_at":"2024-08-01T06:01:36.301Z","updated_at":"2025-04-03T23:08:07.503Z","avatar_url":"https://github.com/didierfranc.png","language":"JavaScript","funding_links":[],"categories":["JavaScript","List","Libraries"],"sub_categories":[],"readme":"# react-waterfall\n\nReact store built on top of [the new context API](https://reactjs.org/docs/context.html)\n\n## Basics\n\n**store.js**\n```js\nimport createStore from 'react-waterfall'\n\nconst config = {\n  initialState: { count: 0 },\n  actionsCreators: {\n    increment: ({ count }) =\u003e ({ count: count + 1 }),\n  },\n}\n\nexport const { Provider, connect, actions } = createStore(config)\n```\n\n**App.js**\n```js\nimport { connect, Provider, actions } from './store'\n\nlet Count = ({ count }) =\u003e count\nCount = connect(({ count }) =\u003e ({ count }))(Count)\n\nconst App = () =\u003e (\n  \u003cProvider\u003e\n    \u003cCount /\u003e\n    \u003cbutton onClick={actions.increment}\u003e+\u003c/button\u003e\n  \u003c/Provider\u003e\n)\n```\n\n## Devtools\n\nDuring development `redux-devtools` are automatically enabled. Install the [extension](https://chrome.google.com/webstore/detail/redux-devtools/lmhkpmbekcpmknklioeibfkpmmfibljd).\n\n## Contributors\n\nhttps://github.com/didierfranc/react-waterfall/graphs/contributors\n\n## Links\n\n* https://twitter.com/DidierFranc/status/965733433711489024\n* https://medium.com/@DidierFranc/replacing-redux-with-the-new-react-context-api-8f5d01a00e8c","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdidierfranc%2Freact-waterfall","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdidierfranc%2Freact-waterfall","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdidierfranc%2Freact-waterfall/lists"}