# Memoize ChatView selection handlers with useCallback · flambo/t3code

[View on GitCafe](https://git.cafe/flambo/t3code/commit/c9fae23efe5ca6512ef2c84d99f1f0b46f9917f0)

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

Visibility: public

Requested revision: c9fae23efe5ca6512ef2c84d99f1f0b46f9917f0

Requested commit: c9fae23efe5ca6512ef2c84d99f1f0b46f9917f0

Commit: c9fae23efe5ca6512ef2c84d99f1f0b46f9917f0

Tree: 37bee0132b8b72cb2b9901941c22b08831a1c076

Author: Julius Marminge

Committer: Julius Marminge

## Message

```
Memoize ChatView selection handlers with useCallback

- Wrap model, effort, and env mode handlers in `useCallback`
- Stabilize callback identities while preserving composer focus behavior

```

## Parents

- [4d2f16be47ad730af252ffce3b7d3d351bf83dee](https://git.cafe/flambo/t3code/commit/4d2f16be47ad730af252ffce3b7d3d351bf83dee?format=markdown)

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