this post was submitted on 14 May 2024
517 points (94.6% liked)

Programmer Humor

19689 readers
98 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
517
submitted 6 months ago* (last edited 6 months ago) by [email protected] to c/programmer_humor
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 4 points 6 months ago

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>