{"id":20196342,"url":"https://github.com/gpavanb1/most-basic-react-redux","last_synced_at":"2026-05-04T12:38:48.496Z","repository":{"id":99921876,"uuid":"233175910","full_name":"gpavanb1/Most-Basic-React-Redux","owner":"gpavanb1","description":"Simplest React-Redux App with Local and Global Counter","archived":false,"fork":false,"pushed_at":"2025-03-12T01:57:06.000Z","size":644,"stargazers_count":4,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-02T01:15:26.642Z","etag":null,"topics":["basic","react","redux"],"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/gpavanb1.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":"2020-01-11T04:27:26.000Z","updated_at":"2020-01-20T18:27:08.000Z","dependencies_parsed_at":"2023-05-25T18:38:13.728Z","dependency_job_id":null,"html_url":"https://github.com/gpavanb1/Most-Basic-React-Redux","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/gpavanb1/Most-Basic-React-Redux","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gpavanb1%2FMost-Basic-React-Redux","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gpavanb1%2FMost-Basic-React-Redux/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gpavanb1%2FMost-Basic-React-Redux/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gpavanb1%2FMost-Basic-React-Redux/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gpavanb1","download_url":"https://codeload.github.com/gpavanb1/Most-Basic-React-Redux/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gpavanb1%2FMost-Basic-React-Redux/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32608164,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-04T10:08:07.713Z","status":"ssl_error","status_checked_at":"2026-05-04T10:08:02.005Z","response_time":58,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["basic","react","redux"],"created_at":"2024-11-14T04:23:24.081Z","updated_at":"2026-05-04T12:38:48.469Z","avatar_url":"https://github.com/gpavanb1.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Most-Basic-React-Redux\n\nThis project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).\n\n\n![Made with Love in India](https://madewithlove.org.in/badge.svg)\n\n## How To Run\n\nIn the project directory, using [`npm`](https://nodejs.org/en/), 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\n\n## Sample\n\n![](./sample/demo.gif)\n\n## Contents\n\nRelevant code is present in [index.js](./src/index.js). The code is divided into 3 sections and illustrates the core patterns of React+Redux.\n\n* Redux: Actions, Creators, Reducers, Store\n* React: Two main components\n\t- __ScoreBoard__ : Stateless and displays main count stored in Redux, accessed through props\n\t- __Controller__ : Contains local states to track number of increments and decrements. Also, local functions dispatch actions (through props) to change main count in addition to local counters.\n* React-Redux: \n\t- `mapStateToProps` to get main count in ScoreBoard and `mapDispatchToProps` to dispatch actions from Controller. \n\t- The linking of components with Redux is made through `connect` and gives Container components. \n\t- These are included in the `App` component, which has access to the store through `Provider`.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgpavanb1%2Fmost-basic-react-redux","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgpavanb1%2Fmost-basic-react-redux","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgpavanb1%2Fmost-basic-react-redux/lists"}