{"id":19270870,"url":"https://github.com/lebinary/scan-react-dependencies","last_synced_at":"2025-02-23T20:15:30.997Z","repository":{"id":190415976,"uuid":"681725402","full_name":"lebinary/scan-react-dependencies","owner":"lebinary","description":"React hook's optimization tool","archived":false,"fork":false,"pushed_at":"2024-08-23T05:12:10.000Z","size":55,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-05T13:11:19.665Z","etag":null,"topics":[],"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/lebinary.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":"2023-08-22T16:11:06.000Z","updated_at":"2024-08-23T05:12:13.000Z","dependencies_parsed_at":"2024-11-09T20:28:38.245Z","dependency_job_id":"2b37f4ef-aff2-4597-91c0-0ed8655f8ba5","html_url":"https://github.com/lebinary/scan-react-dependencies","commit_stats":null,"previous_names":["lebinh190998/scan-react-dependencies","lebinary/scan-react-dependencies"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lebinary%2Fscan-react-dependencies","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lebinary%2Fscan-react-dependencies/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lebinary%2Fscan-react-dependencies/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lebinary%2Fscan-react-dependencies/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lebinary","download_url":"https://codeload.github.com/lebinary/scan-react-dependencies/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240371759,"owners_count":19790888,"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-09T20:27:51.634Z","updated_at":"2025-02-23T20:15:30.897Z","avatar_url":"https://github.com/lebinary.png","language":"TypeScript","readme":"# UseEffect Scanner\n\n## What does this do?\nWe all know it is not recommended to pass **an Object inside useEffect's dependency array**.\n\n**Why?**\\\nBecause React uses shallow comparison to determine if dependencies have changed. Objects are compared by reference, not by their content.\\\nThis means that even if the object's contents haven't changed, React might treat it as a new dependency if it's recreated on each render.\n\n**Solution:**\\\nThis tool scan your files and returns those onjects that were passed in useEffect's dependency array.\n\n## Getting started\n\n### Install packages\nNavigate to the project directory and run this in terminal\n```bash\nnpm install\n```\n\n### Build the project\n```bash\nnpm run build\n```\n\n### Start scanning for dependencies\n```bash\nnpm run start -- \"[Path to your file/directory]\"\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flebinary%2Fscan-react-dependencies","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flebinary%2Fscan-react-dependencies","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flebinary%2Fscan-react-dependencies/lists"}