{"id":28323000,"url":"https://github.com/serengia/redux-side-effects-method-2","last_synced_at":"2026-05-04T09:31:12.092Z","repository":{"id":139198853,"uuid":"540723610","full_name":"serengia/redux-side-effects-method-2","owner":"serengia","description":"This project demonstrates/shows an example of how to handle Redux-side-effects with redux custom action creators via the use of Thunks.","archived":false,"fork":false,"pushed_at":"2022-09-24T08:41:28.000Z","size":407,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-04T19:52:12.508Z","etag":null,"topics":["firebase","react","redux"],"latest_commit_sha":null,"homepage":"","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/serengia.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,"zenodo":null}},"created_at":"2022-09-24T05:50:56.000Z","updated_at":"2023-03-04T07:10:20.000Z","dependencies_parsed_at":null,"dependency_job_id":"92f47a93-2369-42fd-bdea-19983de64364","html_url":"https://github.com/serengia/redux-side-effects-method-2","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/serengia/redux-side-effects-method-2","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/serengia%2Fredux-side-effects-method-2","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/serengia%2Fredux-side-effects-method-2/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/serengia%2Fredux-side-effects-method-2/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/serengia%2Fredux-side-effects-method-2/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/serengia","download_url":"https://codeload.github.com/serengia/redux-side-effects-method-2/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/serengia%2Fredux-side-effects-method-2/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32601477,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-03T22:12:39.696Z","status":"online","status_checked_at":"2026-05-04T02:00:06.625Z","response_time":58,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["firebase","react","redux"],"created_at":"2025-05-25T15:10:37.395Z","updated_at":"2026-05-04T09:31:12.081Z","avatar_url":"https://github.com/serengia.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Redux- Side Effects - Method-2 (Handling Redux Side Effects in using Thunks)\n\nThis project demonstrates/shows an example of how to handle **Redux-side-effects** with **redux custom action creators** via the use of **Thunks.**\n\n\u003e _REMEMBER:_ Redux-reducers must be pure, i.e. You can't run side effects generating tasks such as making **HTTP Requests** and **saving/fetching staff to your local storage** inside redux reducers. To run side-effects generating tasks in redux, you can do that in regular react components(of course using **useEffects()** hook) or use **redux custom action creators** via the use of **Thunks** -- something we are doing in this project.\n\n## Running the project\n\nCD into the project directory and run the following command:\n\n```\nnpm install\n```\n\nTo use the backend, (and if you have time) you can create your own simple **API endpoints** and replace the **HTTP Requests links** on this project with your own. Alternatively, you can quickly get a **Firebase real-time-database test-link** and use that instead.\n\n👤 **Author**\n\n- GitHub: [@githubhandle](https://github.com/serengia)\n- Website: [James Serengia](https://jamesserengia.com/)\n- Twitter: [@twitterhandle](https://twitter.com/jamesserengia)\n- LinkedIn: [LinkedIn](https://linkedin.com/in/james-serengia)\n\n## 🤝 Contributing\n\nContributions, issues, and feature requests are welcome!\n\n## Show your support\n\nGive a ⭐️ if you like this project!\n\n## Acknowledgments\n\n- Hat tip to anyone who inspired this project\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fserengia%2Fredux-side-effects-method-2","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fserengia%2Fredux-side-effects-method-2","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fserengia%2Fredux-side-effects-method-2/lists"}