-
Notifications
You must be signed in to change notification settings - Fork 77
Open
Description
API calls for organization name updates are triggered on every onBlur event.
This can lead to a excessive API calls, especially if the user is typing quickly or tabbing through fields.
These calls can be optimized using a debounce mechanism to reduce unnecessary server requests and improve performance.
Possible solution
Implement a debounced function using lodash/debounce.
Replace the onBlur event handler with an onChange handler.
Call the debounced function in the onChange handler.
Set an delay (e.g., 500ms) to balance efficiency.
As far i tested it it worked properly, and increased the performance
Metadata
Metadata
Assignees
Labels
No labels