{
  "$type": "site.standard.document",
  "canonicalUrl": "https://tkdodo.eu/blog/putting-props-to-use-state",
  "coverImage": {
    "$type": "blob",
    "ref": {
      "$link": "bafkreibrksjrejbcd24ie4b25ljlvpykruksgmewng6w6hognb35yymyku"
    },
    "mimeType": "image/png",
    "size": 132888
  },
  "description": "Part deux of the useState pitfalls series is here, showing patterns to help solve the common use-case of initializing state with a prop.",
  "path": "/blog/putting-props-to-use-state",
  "publishedAt": "2020-10-25T00:00:00.000Z",
  "site": "at://did:plc:3nqrhu5mthmias3zc4a2ovzj/site.standard.publication/3mmyb25hudm2r",
  "tags": [
    "ReactJs",
    "useState pitfalls",
    "Props to State"
  ],
  "title": "Putting props to useState"
}