# perf\(web\): typing no longer re-renders the traits picker or attach button · pingdotgg/t3code

[View on GitCafe](https://git.cafe/pingdotgg/t3code/commit/ec8a0878b4c9eb31ff47432a143893d0fedba6d9)

Repository: [pingdotgg/t3code](https://git.cafe/pingdotgg/t3code)

Visibility: public

Requested revision: ec8a0878b4c9eb31ff47432a143893d0fedba6d9

Requested commit: ec8a0878b4c9eb31ff47432a143893d0fedba6d9

Commit: ec8a0878b4c9eb31ff47432a143893d0fedba6d9

Tree: b66b930f704720c6726d7d54e5503c7b4331bcea

Author: Julius Marminge

Committer: Julius Marminge

## Message

```
perf(web): typing no longer re-renders the traits picker or attach button

The traits picker took the whole prompt to detect Ultrathink, so every
keystroke re-rendered it. It now takes the three-state Ultrathink reading
it renders from, and receives the live prompt only when a pick edits it.
The attach button's add-attachments handler closed over the cursor
through the non-stable insert helpers; it now calls their stable forms.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

```

## Parents

- [9179178fdff5ac750c29ef8d6234d5e75538c124](https://git.cafe/pingdotgg/t3code/commit/9179178fdff5ac750c29ef8d6234d5e75538c124?format=markdown)

[Source at this commit](https://git.cafe/pingdotgg/t3code/tree/ec8a0878b4c9eb31ff47432a143893d0fedba6d9?format=markdown)
