createActiveListStore<T>

STORE CREATOR

Creates a store containing an ActiveList from @uiloos/core which is configured by the config parameter.

What the function does is create the ActiveList and register itself to the ActiveList for changes, when a change is detected it makes sure that the component using the store is re-rendered.

Since 1.3.0

Signature

createActiveListStore( ): Readable<ActiveList>

Parameters

config: ActiveListConfig<T>

The initial configuration of the ActiveList.

Returns

A Readable<ActiveList<T>>