3 ms·
seems a bit slow, like that movie search example. Using normal frontend framework the response is instant as I type. This seems to be half a second delay on eac
by upupandup 4y ago
seems a bit slow, like that movie search example. Using normal frontend framework the response is instant as I type. This seems to be half a second delay on each keystroke.
- XzAeRosho 4y agoThe code seems to suggest they have a 200ms throttle between each keystroke, which should explain the delay.
- upupandup 4y agoi makes sense!
- samwillis 4y agoThere is a 200ms debounce on that example, it's also on a tiny DigitalOcean droplet. (I will reduce that debounce) The approach is similar to Laravel Livewire, and so it's possible to have the same level of responsiveness.