useActiveList<T>

HOOK

A hook which returns an ActiveList from @uiloos/core which is configured by the config parameter.

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

Since 1.0.0

Signature

useActiveList( ): ActiveList<T>

Parameters

config: ActiveListConfig<T>

The initial configuration of the ActiveList.

Returns

An instance of the ActiveList from @uiloos/core