Skip to content

createAdapterHandle()

createAdapterHandle(initial): AdapterHandle

Defined in: adapter.ts:148

Builds an AdapterHandle: the piece every framework binding wraps to drive the engine from rootRef/registerCard calls instead of talking to createRiffle directly. initial seeds the pre-mount snapshot; the engine itself is not built until rootRef attaches a container.

RiffleOptions

AdapterHandle

import { createAdapterHandle } from '@rpxl/riffle'
const handle = createAdapterHandle({ count: 5 })