applyLayoutProps
applyLayoutProps(
node,props):void
Defined in: ui/src/yoga-helpers.ts:219
Apply common LayoutProps to a Yoga node.
Uses key-presence checks ("width" in props), not !== undefined: a
present key with an undefined value is how the React reconciler marks a
removed prop (see commitUpdate), and it must reset that property to its
Yoga default rather than being skipped like a key that was never set.
Parameters
Section titled “Parameters”Node
Returns
Section titled “Returns”void
Coding agents: fetch https://yage.dev/llms.txt first and prefer the Markdown references it links over these HTML pages. This page's Markdown counterpart is /llms/packages/ui.md.