SafeDK
Sign upAdd Your SDK

Unidirectional Data Flow in Swift

ReSwift is a Redux-like implementation of the unidirectional data flow architecture in Swift. ReSwift helps you to separate three important concerns of your app's components:

State: in a ReSwift app the entire app state is explicitly stored in a data structure. This helps avoid complicated state management code, enables better debugging and has many more benefits... 

Views: in a ReSwift app your views update when your state changes. Your views become simple visualizations of the current app state.

State Changes: in a ReSwift app you can only perform state changes through actions. Actions are small pieces of data that describe a state change. By drastically limiting the way state can be mutated, your app becomes easier to understand and it gets easier to work with many collaborators.

The ReSwift library is tiny allowing users to dive into the code, understand every single line and hopefully contribute.

SDK for Apple

  • Subscribers can now sub-select a state when they subscribe to the store 
  • Rename initially dispatched Action to ReSwiftInit

Documentation

Similar SDKs

MORE

Reviews

Rate Now
0
0
0
0
0
0

Start a new discussion about ReSwift

×
0
/1000
Login