{"id":18369108,"url":"https://github.com/bitfancy/react-query-zustand","last_synced_at":"2025-04-10T19:39:44.261Z","repository":{"id":237689800,"uuid":"745529719","full_name":"BitFancy/react-query-zustand","owner":"BitFancy","description":null,"archived":false,"fork":false,"pushed_at":"2024-01-19T14:36:44.000Z","size":21,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-15T20:54:18.983Z","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/BitFancy.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":"2024-01-19T14:35:25.000Z","updated_at":"2024-04-03T19:17:22.000Z","dependencies_parsed_at":"2024-05-03T01:21:05.967Z","dependency_job_id":null,"html_url":"https://github.com/BitFancy/react-query-zustand","commit_stats":null,"previous_names":["bitfancy/react-query-zustand"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BitFancy%2Freact-query-zustand","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BitFancy%2Freact-query-zustand/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BitFancy%2Freact-query-zustand/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BitFancy%2Freact-query-zustand/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BitFancy","download_url":"https://codeload.github.com/BitFancy/react-query-zustand/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248281424,"owners_count":21077423,"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-11-05T23:28:28.829Z","updated_at":"2025-04-10T19:39:44.237Z","avatar_url":"https://github.com/BitFancy.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"#### Description\n\nThis is a repository for a project where I am learning how to use React-Query and Zustand. \n- React-Query is a library for managing remote and asynchronous data fetching.\n  \n- Zustand is a small, fast and flexible state management library.\n\n#### Notes\n- Create Project: `npm create vite react-query-zustand `\n- Install dependencies: `npm i @tanstack/react-query react-query axios`\n- create the global store\n``` \nimport { create } from \"zustand\";\nimport { persist } from \"zustand/middleware\";\n\nconst useGlobalStore = create(\n  persist( 👈 middleware \n    (set) =\u003e ({ \n      value: [], 👈 initial state\n      fn: () =\u003e { set((state) =\u003e ({})); 👈  update state\n      },\n    { name: \"name-storage\" } 👈 Localstorage\n  )\n);\n\n```\n\n\n#### Project status\n\n- [ ] Design UI/UX\n- [x] Create React App ( Vite )\n- [x] Create Custom Hook\n- [x] Add React-Query\n- [x] Add Zustand\n- [x] Create a Global Store using Zustand\n- [ ] Unit testing\n- [ ] Production\n\n| Name      | Time to complete  | Current Status | Finished                       | \n|------------|---------------|----------------|------------------------------------|\n| React-Query-Zustand     |1 day |  Completed | ✅ done\n\n\n#### Project Stack\n\n\\#React, \\#React-Query, \\#Zustand, \\#GithubAPI","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbitfancy%2Freact-query-zustand","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbitfancy%2Freact-query-zustand","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbitfancy%2Freact-query-zustand/lists"}