Extract values from parent scope using inputMapper.
What a mapper returns is a VALUE, not a handle: the mapper read the parent's
typed scope, so its result may be — or hold — a Proxy bound to the parent
stage, and the seed commit below clones it (structuredClone, which cannot
clone a Proxy). unwrapHandles (reactive/handles.ts) swaps each for the
value behind it, O(1), Dates and Maps intact; a handle-free result passes
through by reference.
Extract values from parent scope using inputMapper.
What a mapper returns is a VALUE, not a handle: the mapper read the parent's typed scope, so its result may be — or hold — a Proxy bound to the parent stage, and the seed commit below clones it (
structuredClone, which cannot clone a Proxy).unwrapHandles(reactive/handles.ts) swaps each for the value behind it, O(1), Dates and Maps intact; a handle-free result passes through by reference.