Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conrad tomas button throttling #59

Draft
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

tomasmaranga
Copy link
Collaborator

@tomasmaranga tomasmaranga commented Jan 27, 2025

Description

Made throttle function with a ref hook, implemented throttle in many places.

Issues

Resolve #56

Screenshots

N/A

Test

You can spam send code on forgot password, or any other one we throttled.

Possible Downsides

Didn't implement throttling for functions that weren't used yet, such as deleting an event, it hasn't been implemented, only in the route.

Some ESLint still not working bc using any type in throttle definition

Additional Documentations

N/A

@tomasmaranga tomasmaranga marked this pull request as draft January 27, 2025 02:24
@tomasmaranga tomasmaranga marked this pull request as ready for review January 27, 2025 02:24
@tomasmaranga tomasmaranga marked this pull request as draft January 27, 2025 02:29
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.

[Backend] Add Throttling to Buttons Throughout the App
1 participant