id: autocomplete
title: Autocomplete
tags: ts-req-strategy, usecase
desc: Search input with autocomplete from backend
----

<p>
  Autocomplete is interesting because it executes many things at once. Just look
  at the source, the interesting part is trigger modifiers - it does something
  only if user typed something (rather than just navigated field with cursor
  keys) and then stopped for 100 ms.
</p>

<p>
  When autocomplete triggers a time-consuming operation (e.g. full-text search),
  the implementatio