# test\(web\): warn on hand-managed React roots in web tests · pingdotgg/t3code

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

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

Visibility: public

Requested revision: fc32b6f3c852d921bfc4289d4831d5eadcbe780f

Requested commit: fc32b6f3c852d921bfc4289d4831d5eadcbe780f

Commit: fc32b6f3c852d921bfc4289d4831d5eadcbe780f

Tree: 8e69a6d91c5e4f901a2f88f712e36eab25a8b17c

Author: Julius Marminge

Committer: Julius Marminge

## Message

```
test(web): warn on hand-managed React roots in web tests

t3code/require-disposable-render flags react-dom/client, act from react and writes
to IS_REACT_ACT_ENVIRONMENT in apps/web tests, and lifecycle hooks in browser tests.
It warns until the remaining files move to the disposable render helper. AGENTS.md
documents the convention.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

```

## Parents

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

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