Store API Reference

UseSelectorOptions

Interface: UseSelectorOptions<TSelected>

Defined in: preact-store/src/useSelector.ts:9

Type Parameters

TSelected

TSelected

Properties

compare()?

ts
optional compare: (a, b) => boolean;
optional compare: (a, b) => boolean;

Defined in: preact-store/src/useSelector.ts:10

Parameters

a

TSelected

b

TSelected

Returns

boolean