Patrick Jackson
12/13/2019, 4:14 PMval firstBookSelector = SelectorBuilder<AppState>().withSingleField({ store.state.readingList.first()})
fun someInitLifeCycleFunction() {
store.subscribe {
val firstBook = firstBookSelector(store.state)
}
}
Will check on this later, there is a better/more concise way to subscribe to substates.