꧁❀✰﷽✰❀꧂
In The Name Of God
تبلیغات👇 :
https://t.me/+TJeRqfNn3Y4_fteA
Last updated 2 weeks, 3 days ago
☑️ Collection of MTProto Proxies
🔘 تبليغات بنرى
@Pink_Bad
🔘 تبليغات اسپانسری
@Pink_Pad
پینک پروکسی قدیمی ترین تیم پروکسی ایران
Last updated 1 week ago
Official Channel for HA Tunnel - www.hatunnel.com
Last updated 4 months ago
Lets say that you have an input element in a webpage, and this input is responsible for a search bar mechanism.
and whenever there's a KeyPress
Event, you would want to trigger the API call to fetch your data results for the search term, and update the view, very typical.
but what if the user abuse this behavior? that can easily lead to a high pressure on your server and even on your client. plus, the user doesn't really need to see the updates with each keystroke from his keyboard instantly. So how to fix this?
One clean and easy solution would be a Debounce
mechanism. It will attach a 200ms(or any amount of time) to the latest event from the user's input. then and only then the search term is formed and being sent to the server, reducing the server and client load.
Debounce is only one of the cool things you can find in ReactiveX. A library for composing asynchronous and event-based programs
https://reactivex.io/intro.html
https://rxjs.dev/api/operators/debounce
Hi everyone.
I'm looking for remote job opportunities outside Iran (Preferred) or On Site jobs in Iran, i will upload my cv below.
Let's get in touch via emai, linkedin or @stfuBlyat id
꧁❀✰﷽✰❀꧂
In The Name Of God
تبلیغات👇 :
https://t.me/+TJeRqfNn3Y4_fteA
Last updated 2 weeks, 3 days ago
☑️ Collection of MTProto Proxies
🔘 تبليغات بنرى
@Pink_Bad
🔘 تبليغات اسپانسری
@Pink_Pad
پینک پروکسی قدیمی ترین تیم پروکسی ایران
Last updated 1 week ago
Official Channel for HA Tunnel - www.hatunnel.com
Last updated 4 months ago