Skip to content

shallowCopy

shallowCopy(baseState): () => BaseState

Returns a new instance of the ForkStateManager with the same opts but no storage copied over

Parameters

baseState: BaseState

Returns

Function

Returns

BaseState

Defined in

packages/state/src/actions/shallowCopy.js:10