Ah, the docs are out of sync with the code. There...
# redux
p
Ah, the docs are out of sync with the code. There are some helper functions to make the selections more concise. I will take a look at the docs and code in Reselect soon. For now(and always will be a way):
Copy code
val 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.