1 min readJul 31, 2019
A few questions:
- How is
store.subscribe(...)
implemented? I’m curious about the implementation ofselectWithSkipRepeats
. Is it like Rx’sdistinctUntilChanged()
? How does it know which slice of state each component cares about? Does it transform the state and compare it to the previous instance emitted? - Which unit of architecture is responsible for calling
render()
on a component? - How are you serializing state so that it can be restored?
- Does your navigation component reconstruct the fragment backstack somehow?
- Do you just restore the application state and not reconstruct the view hierarchy in some fashion?
- What’s your state shape look like for things like form entry? If the Redux pattern essentially forms your business rules for your Domain layer, do you let the transient form state (dropdowns, edittext, etc.) trickle down and influence your state shape?