SwiftFlux
SwiftFlux copied to clipboard
A type-safe Flux implementation for Swift
update framework for swift 3
Many Action is always success. I think `antitypical/Result` is overkill for represent Action's error. before ``` swift struct SampleAction: Action { func invoke(dispatcher: DIspatcher) { someFunc() { (result, error) in...
Currently, `Action` needs to call `dispatcher.dispatch` for async func. For example. ``` swift func invoke(dispatcher: Dispatcher) { dispatcher.dispatch(self, result: Result(value: result)) } ``` It has some problem. There is possibilities...
[Redux](https://github.com/rackt/redux) has very interest concept. **A single state tree** makes it easier to debug or introspect an application. Redux provides undo/redo state easily because the tree managed all state changes....