Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(optim): debounce the search input handler
- so it doesn't fire for every character and have lagging output, debounce it for a better user experience and less wasteful network activity - also fixes some consistency errors that happen when requests finish out-of-order, like when you backspace out completely but there are still some manga showing - tried to do it in the MST action initially, but this caused MST flow errors, so did it in the view instead - and, on second thought, that makes more sense, as the action could be used outside of this UI interaction and probably shouldn't be so closely coupled to it - (deps): add lodash.debounce to handle this
- Loading branch information