Understand the Redux and Reselect libraries used by Kotlin-Bloc
The bloc-redux extension is built upon two libraries:
- Redux Kotlin: A port of JS Redux serving as the state container. Due to maintenance issues with the original library, Kotlin-Bloc uses a fork maintained by 1gravity, published on Maven Central.
- Reselect: A Kotlin implementation of Redux Reselect used to create memoized selector functions. These functions select and subscribe to specific sub-states of the Redux state tree, informing callers of changes while ignoring unrelated state updates and caching results transparently. The Reselect library is bundled directly within the Redux extension module.