# Refactor web store usage to granular selectors · screen/t3code-personal

[View on GitCafe](https://git.cafe/screen/t3code-personal/commit/be4d26a1b31d96754bdadc2ab7094dfdc9c7bad9)

Repository: [screen/t3code-personal](https://git.cafe/screen/t3code-personal)

Visibility: public

Requested revision: be4d26a1b31d96754bdadc2ab7094dfdc9c7bad9

Requested commit: be4d26a1b31d96754bdadc2ab7094dfdc9c7bad9

Commit: be4d26a1b31d96754bdadc2ab7094dfdc9c7bad9

Tree: a7f86bfcb2c98319ebe02cf07ca51ff0c96111a7

Author: Julius Marminge

Committer: Julius Marminge

## Message

```
Refactor web store usage to granular selectors

- Replace broad `useStore` state reads with targeted selector/action hooks across chat, diff, sidebar, and routing views
- Remove dispatch-style calls in favor of direct store actions to reduce unnecessary rerenders
- Improve chat UI interactions (composer menu navigation, image preview buttons, modal click targets)
- Add local `react-doctor` agent skill docs under `apps/web/.agents/react-doctor`

```

## Parents

- [5c0961431909f83536790677f46b6a08dadb3434](https://git.cafe/screen/t3code-personal/commit/5c0961431909f83536790677f46b6a08dadb3434?format=markdown)

[Source at this commit](https://git.cafe/screen/t3code-personal/tree/be4d26a1b31d96754bdadc2ab7094dfdc9c7bad9?format=markdown)
