{"version":3,"names":["createRenderEffect","useIsoLayoutEffect"],"sources":["use-iso-layout-effect.ts"],"sourcesContent":["import { createRenderEffect } from \"solid-js\";\n\n/**\n * Alias of {@link createRenderEffect} named to read 1:1 against Base UI React\n * component ports that reach for `useIsoLayoutEffect`.\n *\n * `createRenderEffect` is Solid 2's render-phase split effect — compute runs\n * during the reactive tracking phase, apply runs synchronously before paint\n * (i.e. as DOM elements are created/updated, not batched to the next\n * microtask). That matches `useLayoutEffect` semantics closely enough to\n * stand in for the React helper in a port.\n *\n * The call signature is `(compute, apply, options?)`, the Solid 2 split-effect\n * shape — not React's single-callback signature. Ports that previously passed\n * a single function + dep array need to be restructured to compute/apply.\n */\nexport const useIsoLayoutEffect = createRenderEffect;\n"],"mappings":"AAAA,SAASA,kBAAkB,QAAQ,UAAU;;AAE7C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,MAAMC,kBAAkB,GAAGD,kBAAkB","ignoreList":[]}