# fix\(mobile\): live-subscribe the Diagnostics render-error list · pingdotgg/t3code

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

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

Visibility: public

Requested revision: 21c3d34d24b397af85fd60df6e2f87d28dd1a46f

Requested commit: 21c3d34d24b397af85fd60df6e2f87d28dd1a46f

Commit: 21c3d34d24b397af85fd60df6e2f87d28dd1a46f

Tree: 8299cccfc51bf5d009d2b55e45fa3468a27616fb

Author: Julius Marminge

Committer: Julius Marminge

## Message

```
fix(mobile): live-subscribe the Diagnostics render-error list

The screen snapshotted the in-memory log at mount, so a crash recorded on
another root route while Diagnostics stayed mounted (split view) left the
list and the copied report stale. The log now replaces its snapshot array
on every write and notifies subscribers; the screen reads it through
useSyncExternalStore.

```

## Parents

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

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