-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Open
Labels
Description
What would you like to see?
ChatContainermaintains amessagestate that syncs withPromptInputon every keystroke viaonChange- This is redundant since
PromptInputalready owns its own input state internally - This causes
ChatContainerto 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
Reactions are currently unavailable