tcmts.cli.react_api

REACT_CACHE "// generated by tcm — do not edit: React's cache and cacheSignal, for code tcm runs on the server\…
The generated `tcm-cache.js`: React's `cache` and `cacheSignal`, as code tcm renders imports them. React's own work only in its server components' build, which tcm doesn't use; in the one it does, `cache` keeps nothing and `cacheSignal` is null. Here, in a request tcm answers (a page rendered on the server, a server component's tree, a server function call), what `cache` keeps lasts the request, shared by everything rendered for it (by its arguments: values by value, objects by identity, as React's), and `cacheSignal` is the request's signal, aborted if the browser goes away. Anywhere else (the browser, a test) they're React's: nothing kept.