# Scope diff patch cache key by theme · screen/t3code-personal

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

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

Visibility: public

Requested revision: 5ec8c9f79d4a0676ad9107b6c328c2a388b2d825

Requested commit: 5ec8c9f79d4a0676ad9107b6c328c2a388b2d825

Commit: 5ec8c9f79d4a0676ad9107b6c328c2a388b2d825

Tree: 97ddcb728242c4a1925b6dac2353e96e96b9e22f

Author: Julius Marminge

Committer: Julius Marminge

## Message

```
Scope diff patch cache key by theme

- pass a cache scope into `getRenderablePatch` and include resolved theme in DiffPanel cache keys
- add a test proving `buildPatchCacheKey` changes when cache scope changes

```

## Parents

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

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