{"id":25428481,"url":"https://github.com/rodrigorvsn/zoro","last_synced_at":"2026-04-29T08:35:37.196Z","repository":{"id":130340968,"uuid":"561121060","full_name":"RodrigoRVSN/zoro","owner":"RodrigoRVSN","description":"⚔️ My Client Management Tool for React without dependencies","archived":false,"fork":false,"pushed_at":"2022-11-06T02:43:52.000Z","size":25,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-09-20T13:49:50.702Z","etag":null,"topics":["client-management","react","state","store","typescript","vite"],"latest_commit_sha":null,"homepage":"","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/RodrigoRVSN.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-11-03T01:49:29.000Z","updated_at":"2023-03-07T05:01:26.000Z","dependencies_parsed_at":null,"dependency_job_id":"bc07943d-9fbe-4145-a0cd-a00ec549301e","html_url":"https://github.com/RodrigoRVSN/zoro","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/RodrigoRVSN/zoro","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RodrigoRVSN%2Fzoro","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RodrigoRVSN%2Fzoro/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RodrigoRVSN%2Fzoro/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RodrigoRVSN%2Fzoro/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RodrigoRVSN","download_url":"https://codeload.github.com/RodrigoRVSN/zoro/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RodrigoRVSN%2Fzoro/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32418158,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-29T06:29:02.080Z","status":"ssl_error","status_checked_at":"2026-04-29T06:29:00.631Z","response_time":110,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":["client-management","react","state","store","typescript","vite"],"created_at":"2025-02-17T01:38:59.130Z","updated_at":"2026-04-29T08:35:37.191Z","avatar_url":"https://github.com/RodrigoRVSN.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# zoro\n\n## Why Context Api using a state (useState) is bad for Client State Management?\n\n- In React, when a state changes, all the components using their states are rerendered. This is not necessary in cases which the component is not using that specific data.\n\n## What strategy is being use instead a state?\n\n- The context is using a `useRef` to store and change the value in provider, and the `useSelector` hook in `lib/useSelector.tsx` is using a `useState` being instancied in each component with the respective value being used in that component, managed by the `listenerId`, using and updating the values from the `useRef` of the Context Api. \n- This strategy is based in Redux and Zustand.\n\n___\n## 💻 Prerequisites\n\n- Install LTS Node version.\n\n\u003c!--- #################### mudar pré-requisitos  ####################---\u003e\n___\n## 🛠 Tools used\n\n- React (Vite)\n- Typescript\n- React hooks\n\n\u003c!--- #################### mudar ferramentas #################### ---\u003e\n\n___\n\n## 🚀 Installing zoro\n\n#### Clone repository\n\n```powershell\n  git clone https://github.com/RodrigoRVSN/zoro.git\n```\n\n#### Install dependencies\n\n```powershell\n  yarn\n```\n\n#### Run app\n\n```powershell\n  yarn dev\n```\n___\n\n## 📫 Contribuiting with zoro\n\nTo contribue with zoro, follow the steps:\n\n1. Fork this repository.\n2. Create a branch: `git checkout -b \u003cname_branch\u003e`.\n3. Make the changes and confirm: `git commit -m '\u003cmessage_commit\u003e'`\n4. Send to original repository: `git push origin \u003cmain_branch\u003e / \u003clocal\u003e`\n5. Send the pull request.\n\nAlternatively, see the GitHub documentation at [how to create a pull request](https://help.github.com/en/github/collaborating-with-issues-and-pull-requests/creating-a-pull-request).\n___\n## 🤝 Contributors\n\nMade with ❤️ by:\n\n\u003ctable\u003e\n  \u003ctr\u003e\n    \u003ctd align=\"center\"\u003e\n      \u003ca href=\"#\"\u003e\n        \u003cimg src=\"https://github.com/rodrigorvsn.png\" width=\"100px;\" alt=\"Foto do Rodrigo Victor no GitHub\"/\u003e\u003cbr\u003e\n        \u003csub\u003e\n          \u003cb\u003eRodrigo Victor\u003c/b\u003e\n        \u003c/sub\u003e\n      \u003c/a\u003e\n    \u003c/td\u003e\n  \u003c/tr\u003e\n\u003c/table\u003e\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frodrigorvsn%2Fzoro","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frodrigorvsn%2Fzoro","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frodrigorvsn%2Fzoro/lists"}