mirror of
https://github.com/HKUDS/DeepTutor.git
synced 2026-12-04 01:39:37 +08:00
Extract `ComposerInput` component to isolate frequent keystroke renders. Refactor `ChatComposer` to use `hasContent` flag instead of full `input` state. Apply `React.memo` to heavy config panels (Quiz, Math, Research, Visualize). Stabilize parent callbacks in `ChatPage` using `useCallback`. Fix residual syntax errors and missing `canSend` definition in composer. Address HKUDS/DeepTutor#351 by implementing deep state colocation.