Carter Hudson
1 min readJul 31, 2019

--

A few questions:

  • How is store.subscribe(...) implemented? I’m curious about the implementation of selectWithSkipRepeats. Is it like Rx’s distinctUntilChanged()? 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?

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

--

--

Responses (1)

Write a response