{"id":15770623,"url":"https://github.com/c-ehrlich/rtk-query-vs-react-query","last_synced_at":"2025-03-31T11:43:59.132Z","repository":{"id":134327145,"uuid":"471758694","full_name":"c-ehrlich/rtk-query-vs-react-query","owner":"c-ehrlich","description":"testing two ways to query data","archived":false,"fork":false,"pushed_at":"2022-03-19T17:06:57.000Z","size":382,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-10-05T14:43:24.567Z","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/c-ehrlich.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":"2022-03-19T16:59:29.000Z","updated_at":"2023-01-03T18:26:17.000Z","dependencies_parsed_at":null,"dependency_job_id":"b93c4dda-d9ab-41a6-ae79-305be1cd50e6","html_url":"https://github.com/c-ehrlich/rtk-query-vs-react-query","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/c-ehrlich%2Frtk-query-vs-react-query","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/c-ehrlich%2Frtk-query-vs-react-query/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/c-ehrlich%2Frtk-query-vs-react-query/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/c-ehrlich%2Frtk-query-vs-react-query/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/c-ehrlich","download_url":"https://codeload.github.com/c-ehrlich/rtk-query-vs-react-query/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246465220,"owners_count":20781919,"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-04T14:43:23.787Z","updated_at":"2025-03-31T11:43:59.101Z","avatar_url":"https://github.com/c-ehrlich.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# rtk-query-vs-react-query\n## What is this?\nA small sample project to test two different ways to query and manage data - Redux Toolkit Query and React Query. It contains a simple Next.js server that does some basic CRUD operations and two simple frontends that are identical other than their use of Redux Toolkt Query vs React Query.\n\n## What did I learn?\nI hadn't used either before, so both implementations were new to me.\n* For querying and keeping updated state from a server that will be invalidated often due to user interaction, both are significantly better than just keeping the data in some sort of global state management solution\n* For personal projects I prefer React Query - Redux Query has a bit too much 'magic' in it for my preferences.\n* That being said if I was to join a project with an already existing large codebase that uses Redux Toolkit, I would be happy to use Redux Toolkit Query as well.\n\n## Acknowledgements\nLarge parts of the code are based on [this video by Jack Herrington](https://www.youtube.com/watch?v=LDS1ll93P-s)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fc-ehrlich%2Frtk-query-vs-react-query","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fc-ehrlich%2Frtk-query-vs-react-query","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fc-ehrlich%2Frtk-query-vs-react-query/lists"}