TLDR Tech / Dev
Building reliable AI chat on mobile
Doctolib found that building AI chat on mobile was much harder than expected. Streaming responses broke React Native's standard scroll patterns, so they open-sourced their own list component to fix it. The main insight was switching snapshot polling for event polling (“what changed since X?”), which eliminated ~80% of wasteful requests and made error states explicit.
Read the full story