Skip to content

Conversation

@ammar-agent
Copy link
Collaborator

Generated with mux

What

Reduce ChatInput re-renders during streaming by:

  • adding an explicit React.memo boundary for ChatInput
  • stabilizing AIView → ChatInput props (memoized auto-compaction result, stable review callbacks)
  • removing handler churn tied to streaming updates by reading latest workspace state via a ref

How to verify

  • Start a long streaming response and profile renders: ChatInput should no longer commit on each delta.

@ammario ammario merged commit f4d0c54 into main Dec 12, 2025
20 checks passed
@ammario ammario deleted the chat-input-v0t8 branch December 12, 2025 17:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants