MCPcopy Create free account
hub / github.com/ngrx/platform / getInitialState

Function getInitialState

modules/store/src/feature_creator.ts:259–263  ·  view source on GitHub ↗
(
  reducer: ActionReducer<FeatureState>
)

Source from the content-addressed store, hash-verified

257}
258
259function getInitialState<FeatureState>(
260 reducer: ActionReducer<FeatureState>
261): FeatureState {
262 return reducer(undefined, { type: '@ngrx/feature/init' });
263}

Callers 1

createNestedSelectorsFunction · 0.70

Calls 1

reducerFunction · 0.50

Tested by

no test coverage detected