517
submitted 6 months ago* (last edited 6 months ago) by sjmarf@sh.itjust.works to c/programmer_humor@programming.dev
you are viewing a single comment's thread
view the rest of the comments

So my first role as a developer I’m working on an application that runs various classes for children, the parents sign up but it’s children they’re booking for.

We use reactstrap and there is a package called buttonasync and it has a method of executingChildren, let’s say I was a little confused.

return (
            <Form onSubmit={onSubmit}>
				<FormGroup>
                    <Label htmlFor="name">Name</Label>
                    <Input type="text" name="name" placeholder="Name" value={props.name} />
                </FormGroup>

				<ButtonAsync type="submit" color="primary" isExecuting={isSaving}
					executingChildren={<><FontAwesomeIcon icon="spinner" spin /> Saving...</>}>
					<FontAwesomeIcon icon="save" /> Save
				</ButtonAsync>
            </Form>
this post was submitted on 14 May 2024
517 points (94.6% liked)

Programmer Humor

19594 readers
755 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 1 year ago
MODERATORS