All right.
And the first additional feature I want to add to this app is a, the bounce option.
Remember the search input where user can search for jobs.
At the moment we prevent generating too many requests by waiting on is loading, which gets the job
done but probably is not the best user experience.
So instead we'll refactor our app to fire event basically to fetch our jobs only after a certain amount
of time since the last keystroke.
So imagine this user is typing, let's say in one second he or she typed five letters and only after
the last letter was typed in.
Let's say one second.
After that we send a request.
And don't worry if this kind of sounds iffy, you'll see as we start working on a feature.
So we want to trigger something with DeLay.
And the official name for that is the bounce.
Now, a few important points before we begin.
Since the bounce is a JavaScript feature, I will construct the initial function in vanilla JS So that
one is kind of like watch only you won't have to participate.
I'll just show you the general principles in Vanilla G's application and then we will come back to react.
And then of course we'll set up the functionality and hopefully that way you have a better understanding
of general principles.
Of the the bones.
Second, our bounce function is going to be very basic.
You can definitely create a more complex one, but I just didn't see the point since this one gets the
job done.
And lastly, you don't always have to construct your own the bounce function.
For example, the load library provides such function.
So the only thing we need to do is important.
However, I thought that the first time.
We work on such a feature, it probably makes more sense to construct one from the scratch.