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

Source

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