{"id":22793097,"url":"https://github.com/kripod/redux-for-beginners","last_synced_at":"2025-06-11T06:07:19.659Z","repository":{"id":81144668,"uuid":"66671009","full_name":"kripod/redux-for-beginners","owner":"kripod","description":"An opinionated set of good practices to minimize the effort required to set up and maintain a Redux project.","archived":false,"fork":false,"pushed_at":"2016-08-27T09:47:31.000Z","size":8,"stargazers_count":6,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-17T01:56:33.442Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kripod.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2016-08-26T18:37:36.000Z","updated_at":"2018-12-29T16:27:34.000Z","dependencies_parsed_at":null,"dependency_job_id":"4894692c-1294-4ddc-909e-9b94d5300e78","html_url":"https://github.com/kripod/redux-for-beginners","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/kripod%2Fredux-for-beginners","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kripod%2Fredux-for-beginners/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kripod%2Fredux-for-beginners/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kripod%2Fredux-for-beginners/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kripod","download_url":"https://codeload.github.com/kripod/redux-for-beginners/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kripod%2Fredux-for-beginners/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259211837,"owners_count":22822378,"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-12-12T03:18:01.590Z","updated_at":"2025-06-11T06:07:19.643Z","avatar_url":"https://github.com/kripod.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Redux for Beginners\n\nThis project-based tutorial aims to provide an opinionated set of good practices\nto minimize the effort required to set up and maintain a [Redux] project which\nuses [React] as its user interface library.\n\n[Redux]: http://redux.js.org\n[React]: https://facebook.github.io/react\n\n## Learn less, do more\n\nLearning the philosophy behind Redux can be exhausting, especially when it comes\nto terminology or separation of concerns.\n\n## Organizing actions, reducers, components and containers\n\nContrary to most of the [official Redux examples], in this project, files are\nnot organized by nature, but\n[by domain][A Better File Structure For React/Redux Applications].\n\n[Official Redux examples]: https://github.com/reactjs/redux/tree/master/examples\n[A Better File Structure For React/Redux Applications]: http://marmelab.com/blog/2015/12/17/react-directory-structure.html\n\n## Maintaining code coherence while separating concerns\n\nAction types, action handlers, action creators, action dispatchers, and so on.\nThere are multiple approaches available to reduce the confusion while improving\ncode reuse and modularity.\n\n- **Store-connected components** can represent and alter the globally stored\n  state of an application. Their state representation should be stored in a file\n  separate from the component.\n  - [Flux Standard Actions] can be created and handled by [redux-actions]\n  - Concepts behind self-contained Redux modules and action naming are borrowed\n    from the [Ducks proposal][Ducks: Redux Reducer Bundles].\n- **Purely presentational components** cannot access global application state,\n  but may optionally have a local view state.\n\n[Flux Standard Actions]: https://github.com/acdlite/flux-standard-action\n[redux-actions]: https://github.com/acdlite/redux-actions\n[Ducks: Redux Reducer Bundles]: https://github.com/erikras/ducks-modular-redux\n\n## Future-proof solutions with performance in mind\n\n- React-based web frontend projects can be set up with zero configuration by\n  [create-react-app].\n- The usage of functional React components is preferred over their class-based\n  counterparts. In this project, the syntax which functional components are\n  declared by not only provide possible gains in performance, but are compatible\n  with the [proposed syntax of stateful React components].\n\n[create-react-app]: https://github.com/facebookincubator/create-react-app\n[Proposed syntax of stateful React components]: https://github.com/reactjs/react-future/blob/master/07%20-%20Returning%20State/01%20-%20Stateful%20Functions.js\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkripod%2Fredux-for-beginners","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkripod%2Fredux-for-beginners","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkripod%2Fredux-for-beginners/lists"}