{
"$type": "site.standard.document",
"canonicalUrl": "https://tkdodo.eu/blog/simplifying-use-effect",
"coverImage": {
"$type": "blob",
"ref": {
"$link": "bafkreieyjjimmd2rm26lprl6zelx2kv5iai3yx75p3jtnk7fbkie4yehqe"
},
"mimeType": "image/png",
"size": 341582
},
"description": "useEffect hooks can be hard to reason about, but I have 5 principles that can help to manage them",
"path": "/blog/simplifying-use-effect",
"publishedAt": "2021-01-23T00:00:00.000Z",
"site": "at://did:plc:3nqrhu5mthmias3zc4a2ovzj/site.standard.publication/3mmyb25hudm2r",
"tags": [
"ReactJs",
"useEffect",
"JavaScript",
"TypeScript"
],
"title": "Simplifying useEffect"
}