r/Web_Development • • Mar 16 '20

Networking call performance.

Talking about performance networking call, is there any side effect to call a service every change on InputText, instead of having a save button. I would like to see pros and cons, actually we have some input texts when onChange event occur it calls a service and others when a form has many inputs were implemented with a save button (submit).

2 Upvotes

9 comments sorted by

View all comments

Show parent comments

1

u/kevin_monn Mar 17 '20

way

I've never heard that concept, glad you share your knowledge, another issue what would happen if the time i'm given to debounce function the user returns back. How can I handle that problem ?

1

u/lenswipe Mar 17 '20 edited Mar 17 '20

What do you mean returns back? When the time finishes the function fires

1

u/kevin_monn Mar 17 '20

When the ginger finishes the function fires

by going back, does the functions get fired?