Reactive programming for Hack