Experimental browser for the Atmosphere
I seem to use this pattern a lot with React form actions so thought I'd suggest adding it to the docs github.com/reactjs/react.de…
Apr 30, 2025, 2:13 PM
{ "uri": "at://did:plc:2xau7wbgdq4phuou2ypwuen7/app.bsky.feed.post/3lnzy4zgg6c5f", "cid": "bafyreigtvlbngcqeg4xhakhb45iz4q65vzxzpshwharrjlikpgsecmldby", "value": { "text": "I seem to use this pattern a lot with React form actions so thought I'd suggest adding it to the docs\n\ngithub.com/reactjs/react.de…", "$type": "app.bsky.feed.post", "embed": { "$type": "app.bsky.embed.images", "images": [ { "alt": "You can override the default reset behaviour of the form by additionally passing an onSubmit prop to the <form> component calls preventDefault on the event and calling the action yourself. Passing onSubmit alongside action ensures the form can be progressively enhanced if this component is rendered to HTML on the server.", "image": { "$type": "blob", "ref": { "$link": "bafkreiga4bvyf3i6ciu54fjwaxkqi36uc6il7tc5zclomj32dc4jloc54u" }, "mimeType": "image/png", "size": 213813 }, "aspectRatio": { "width": 1780, "height": 1126 } } ] }, "langs": [ "en" ], "facets": [ { "index": { "byteEnd": 133, "byteStart": 103 }, "features": [ { "uri": "https://github.com/reactjs/react.dev/pull/7795", "$type": "app.bsky.richtext.facet#link" } ] } ], "createdAt": "2025-04-30T14:13:37.000Z" } }