mirror of
https://github.com/getpaseo/paseo.git
synced 2026-07-29 12:01:31 +00:00
- Separate streaming item from FlatList data array to prevent full re-diffs on every streaming chunk - Memoize renderStreamItem with useCallback - Memoize AgentThoughtMessage component with React.memo The main fix is rendering the streaming message in ListHeaderComponent instead of prepending it to the data array, which was causing the entire list to re-diff on every character streamed.