Skip to content

Instantly share code, notes, and snippets.

@bluejava
Last active June 27, 2019 01:20
Show Gist options
  • Save bluejava/8052f644f65f5dab5b9294a58fd31f12 to your computer and use it in GitHub Desktop.
Save bluejava/8052f644f65f5dab5b9294a58fd31f12 to your computer and use it in GitHub Desktop.
Example 5 for Medium Post
Zousan.evaluate(
{ name: "username", value: "glenn" },
{ name: "user", value: getUser, deps: [ "username" ] },
{ name: "favs", value: getFavorites, deps: [ "user" ] },
{ name: "userRenderer", value: renderUser, deps: [ "user" ] },
{ value: renderUserFavs, deps: [ "userRenderer", "favs" ] }
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment