RenderDevtools
Unpublished development API. This package is under development and is not available as a published release.
Reports how the RenderSpec inside it resolved to the Threadplane DevTools
extension in development, as Angular's <a2ui-surface> and
<chat-generative-ui> do: a threadplane:devtools CustomEvent with
kind: 'render', the registry's names, and each element's key, type and
state (mounted, fallback, unresolved or hidden), never prop values.
Changes coalesce for 50 ms, and an unchanged resolution is not reported
again. Wrap one surface per RenderDevtools.
Production builds (process.env.NODE_ENV === 'production') render the
children alone. Setting window.__THREADPLANE_DEVTOOLS_DISABLED__ = true
turns reporting off in development.
import { RenderDevtools } from '@threadplane/react/render';Declaration · overload 1
RenderDevtools: (props: RenderDevtoolsProps) => ReactNodeParameters
props· requiredRenderDevtoolsProps
Returns
ReactNode