Skip to content

Latest commit

 

History

History
23 lines (11 loc) · 1.04 KB

File metadata and controls

23 lines (11 loc) · 1.04 KB

Rest Room

Learn to build Unidirectional Data Flow Apps Using SwiftUI for iOS

About Redux

You can see the app below structure :

  • The Store stores your entire app state in the form of a single data structure. This state can only be modified by dispatching Actions to the store. Whenever the state in the store changes, the store will notify all observers.
  • Actions are a declarative way of describing a state change. Actions don't contain any code, they are consumed by the store and forwarded to reducers. Reducers will handle the actions by implementing a different state change for each action.
  • Reducers provide pure functions, that based on the current action and the current app state, create a new app state

🏆 Continue learning swiftui

Screens