useSelector

inline fun <T> useSelector(alias: String? = null): T

Use selector

Return

Parameters

T

inline fun <T, R> useSelector(alias: String? = null, block: T.() -> R): R

Use selector, by pass block, you can also select part of state class,to use in your component

Return

Receiver

Parameters

block
T
R