{
"$type": "site.standard.document",
"canonicalUrl": "https://tkdodo.eu/blog/use-state-vs-use-reducer",
"coverImage": {
"$type": "blob",
"ref": {
"$link": "bafkreiavw7kapyls3uodl524euykyrvirdjhqwu7upk5lyuspmu3wpnjgm"
},
"mimeType": "image/png",
"size": 334462
},
"description": "To useState or useReducer, that is the question...",
"path": "/blog/use-state-vs-use-reducer",
"publishedAt": "2021-09-26T00:00:00.000Z",
"site": "at://did:plc:3nqrhu5mthmias3zc4a2ovzj/site.standard.publication/3mmyb25hudm2r",
"tags": [
"ReactJs",
"useState pitfalls",
"useState",
"useReducer"
],
"title": "useState vs useReducer"
}