Expand description
Optional composition origins for development tools.
Structs§
- Recomposition
Info - A live composable instance, including functions which emit no layout nodes.
- Source
Location - A composable definition active when a layout node was emitted.
Functions§
- current_
source_ trace - Captures the active composable definitions, outermost first.
- recomposition_
snapshot - Captures live instances without inspecting or traversing the layout tree. Returns an empty list unless tracking is enabled in a debug inspection build.
- set_
recomposition_ tracking - Enables counters for composable instances on this preview’s composition thread.
Tracking defaults to disabled and is compiled out of release builds and builds
without
inspection. Skipped bodies and source call-site markers are not counted.