cid:
"bafyreidagdcwkmmxgq7qperlm7j5fcyqdrthxjaohnmqwzd4gt3cfe7jq4"
value:
text:
"when you declare a state variable, you choose its lifetime — it “lives” for as long as the associated component is in the tree. for example, a comment widget under a post might use state to store what you’re typing — but if you go to another page, the widget will unmount, and its state will go poof"
$type:
"app.bsky.feed.post"
langs:
"en"
reply:
root:
cid:
"bafyreigetipnjhkfwmm7ot3gyy2poksex267nm7doa5f5vtbexl6of445a"
parent:
cid:
"bafyreidn42syehuncpeyvd75cuiflur5zkt3ilef2of6qmyk57mxxnckga"
createdAt:
"2024-10-21T21:16:39.142Z"