Home
Using Smart NgRX
Demo Walkthrough
API
@smarttools/smart-ngrx / Function

store

Internal function used to provide and retrieve a global store that is needed by code that does not have DI.

Presentation

function store(storeParam?: Store<object> | undefined): Store<object>;

Returns

Store<object> -

= the global store value.

Parameters

NameTypeDescription
storeParam
Store<object> | undefined

This is an optional parameter. If it is there,