# Use React Query for checkpoint diff loading and caching · screen/t3code-personal

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

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

Visibility: public

Requested revision: 3afbf93d5e54fec6674c62a5521f78c0ec2cf846

Requested commit: 3afbf93d5e54fec6674c62a5521f78c0ec2cf846

Commit: 3afbf93d5e54fec6674c62a5521f78c0ec2cf846

Tree: 83fcd8cb80bd6ce1ceb0458d4f8f4ee9dc011f92

Author: Julius Marminge

Committer: Julius Marminge

## Message

```
Use React Query for checkpoint diff loading and caching

- add shared provider checkpoint diff query options and keys
- refactor `ChatView` and `DiffPanel` to fetch diffs via React Query
- persist selected-turn checkpoint diffs back into thread state for reuse

```

## Parents

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

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