Experimental browser for the Atmosphere
Remember: useEffect isn’t just for API calls. - It also handles cleanup functions—think event listeners, intervals, subscriptions. - return () => { /* cleanup here */ } #reactjs
Apr 7, 2025, 12:40 PM
{ "uri": "at://did:plc:xojzyx7hap5k3pii2ug4heoa/app.bsky.feed.post/3lm7ya6igs22c", "cid": "bafyreiaamavzsl66pufrzrsvwj4xvo2vv6l6fxeviqn35rcihps5noobpe", "value": { "text": "Remember: useEffect isn’t just for API calls.\n\n- It also handles cleanup functions—think event listeners, intervals, subscriptions.\n\n- return () => { /* cleanup here */ }\n\n#reactjs", "$type": "app.bsky.feed.post", "langs": [ "en" ], "facets": [ { "index": { "byteEnd": 184, "byteStart": 176 }, "features": [ { "tag": "reactjs", "$type": "app.bsky.richtext.facet#tag" } ] } ], "createdAt": "2025-04-07T12:40:58.592Z" } }