Skip to content

Instantly share code, notes, and snippets.

@squeedee
Last active November 11, 2015 15:47
Show Gist options
  • Save squeedee/2457c214b3d7b208983a to your computer and use it in GitHub Desktop.
Save squeedee/2457c214b3d7b208983a to your computer and use it in GitHub Desktop.
  • Onramp.. Not smooth.
  • Helper functions:
    • build parse for you (from a schema?).
    • Meaningful terms…
    • Such as fluent interfaces.. see below

Notes from my guru

Above the idea of

how easy is it to reason about

is a higher value prop

how easy is it to change

how easy is it to debug (needs change to discover, needs change to fix)

how easy is it to isolate (change so that you can bisect)

Rash's transact of glory

(om/transact! this [
  (mutate :update-resource {:name (.. e -target -value)}})
  (query :foo)])

Because om/transact! is data driven, helper functions are easy. We feel this validates the lower-level api of om/transact!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment