Skip to content

Instantly share code, notes, and snippets.

@cartant
Last active June 14, 2018 03:15
Show Gist options
  • Select an option

  • Save cartant/19b3f2a3847f72d896ec269514e9d2a5 to your computer and use it in GitHub Desktop.

Select an option

Save cartant/19b3f2a3847f72d896ec269514e9d2a5 to your computer and use it in GitHub Desktop.
import { observe } from "rxjs-observe";
const instance = { name: "Alice" };
const { observables, proxy } = observe(instance);
observables.name.subscribe(value => console.log(name));
proxy.name = "Bob";
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment