Skip to content

Refactor Task class to function component#998

Merged
talyssonoc merged 3 commits intomasterfrom
refactor/task-class-to-function
May 9, 2025
Merged

Refactor Task class to function component#998
talyssonoc merged 3 commits intomasterfrom
refactor/task-class-to-function

Conversation

@julialbq
Copy link
Copy Markdown
Contributor

What this PR do ?

Updates Task class into a function component.

Related Issues

Update React classes to function components

Screenshots (if applicable)

Additional Notes (if any)

const { handleDelete, task } = this.props;
handleDelete(task);
}
const handleDeleteClick = () => handleDelete(task);
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I find this name redundant. Could we keep just handleDelete(task)?

@julialbq julialbq force-pushed the refactor/task-class-to-function branch from c5f9852 to 6243905 Compare March 25, 2025 16:41
@talyssonoc talyssonoc merged commit c09dd62 into master May 9, 2025
2 of 3 checks passed
@talyssonoc talyssonoc deleted the refactor/task-class-to-function branch May 9, 2025 13:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants