You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ChatContainer maintains a message state that syncs with PromptInput on every keystroke via onChange
This is redundant since PromptInput already owns its own input state internally
This causes ChatContainer to rerender on every keystroke, which cascades to child components unnecessarily
The recent fix in fc9bd71 addressed a visual symptom of this (animation restart) by stabilizing the key prop, but the underlying unnecessary rerenders remain
What would you like to see?
ChatContainermaintains amessagestate that syncs withPromptInputon every keystroke viaonChangePromptInputalready owns its own input state internallyChatContainerto rerender on every keystroke, which cascades to child components unnecessarily