Simple reactive library inspired by https://gist.github.com/staltz/868e7e9bc2a7b8c1f754