{"id":13725123,"url":"https://github.com/kentcdodds/react-and-stale-closures","last_synced_at":"2025-08-09T04:18:03.512Z","repository":{"id":66052923,"uuid":"312492919","full_name":"kentcdodds/react-and-stale-closures","owner":"kentcdodds","description":"This is a demo to show why so-called \"stale closures\" is a feature, not an annoyance.","archived":false,"fork":false,"pushed_at":"2020-11-19T18:52:52.000Z","size":180,"stargazers_count":35,"open_issues_count":0,"forks_count":5,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-29T20:11:17.543Z","etag":null,"topics":["classes","hooks","kcd-edu","react"],"latest_commit_sha":null,"homepage":"https://react-and-stale-closures.netlify.app/","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/kentcdodds.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":"2020-11-13T06:34:37.000Z","updated_at":"2023-08-06T13:36:21.000Z","dependencies_parsed_at":null,"dependency_job_id":"9a310042-8c6c-4b3f-8822-926fa480e571","html_url":"https://github.com/kentcdodds/react-and-stale-closures","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/kentcdodds%2Freact-and-stale-closures","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kentcdodds%2Freact-and-stale-closures/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kentcdodds%2Freact-and-stale-closures/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kentcdodds%2Freact-and-stale-closures/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kentcdodds","download_url":"https://codeload.github.com/kentcdodds/react-and-stale-closures/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250343912,"owners_count":21415037,"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":["classes","hooks","kcd-edu","react"],"created_at":"2024-08-03T01:02:13.643Z","updated_at":"2025-04-22T23:52:18.082Z","avatar_url":"https://github.com/kentcdodds.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"# React and Stale Closures\n\nThis is a demo to show why so-called \"stale closures\" is a feature, not an\nannoyance.\n\n[Demo](https://react-and-stale-closures.netlify.app/)\n\nBlog post: [How React Uses Closures to Avoid Bugs](https://epicreact.dev/how-react-uses-closures-to-avoid-bugs)\n\n[Play with this on codesandbox](https://githubbox.com/kentcdodds/react-and-stale-closures)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkentcdodds%2Freact-and-stale-closures","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkentcdodds%2Freact-and-stale-closures","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkentcdodds%2Freact-and-stale-closures/lists"}