Read this in other languages: 简体中文
EasyReact is an easy-to-use reactive programming framework.
Are you confused by the functors, applicatives, and monads in RxSwift and ReactiveCocoa? It doesn't matter, the concepts are so complicated that not many developers actually use them in normal projects. Is there an easy-to-use way to use reactive programming? EasyReact is born for this reason.
Note: The "Node" listed below refer to
EZRNode, a unified representation of various values (all object types) in EasyReact.
|Core idea||Graph theory and object-oriented programming||Functional programming||Functional programming and generic programming|
(Other language versions will open source in the future)
|Objective-C, Swift||Many language versions|
|Chinese document support||✅||❌||❌|
|Debugging tools||Topology display |
More rich dynamic debugging tools(Coming soon)
git clone this repo，excute
pod install in Example/, then open
Add the following content in
EasyReact contains a complete unit test with the relevant code in the Example/Tests folder. You can open the sample project and execute the Test command to run these unit tests.
Build Platform: macOS Mojave 10.14
IDE: Xcode 10.0(10A255)
Device: iPhone XS Max 256G iOS 12.0(16A366)
The scale of the test is based on 10 operating objects and 1000 triggers. For example, the listener method has 10 listeners and repeats the action of sending the value 1000 times. The unit of time is ns.
Repeat the above experiment 10 times to get the data as follows:
ReactiveCocoa's average time consuming is 434.8% times more than EasyReact.
EasyReact will compare benchmark with RxSwift when the Swift version open source recently.
William Zang, firstname.lastname@example.org
Qin Hong, email@example.com
Zhiyu Wong, firstname.lastname@example.org
EasyReact is Apache Public License 2.0