{
"$type": "site.standard.document",
"canonicalUrl": "https://tkdodo.eu/blog/hooks-dependencies-and-stale-closures",
"coverImage": {
"$type": "blob",
"ref": {
"$link": "bafkreibp7cbkvqeky5b63k76y4vkaq5zpqlshnocw7gyiikvdhmmtxrsqa"
},
"mimeType": "image/png",
"size": 223719
},
"description": "Let's demystify what stale closures are in combination with react hooks with the help of the analogy of taking a photo ...",
"path": "/blog/hooks-dependencies-and-stale-closures",
"publishedAt": "2022-04-24T00:00:00.000Z",
"site": "at://did:plc:3nqrhu5mthmias3zc4a2ovzj/site.standard.publication/3mmyb25hudm2r",
"tags": [
"JavaScript",
"TypeScript",
"ReactJs",
"Hooks"
],
"title": "Hooks, Dependencies and Stale Closures"
}