Liking cljdoc? Tell your friends :D
ClojureScript only.

im-tables.interceptors


sandboxcljs

(sandbox)

Returns an interceptor factory that shrinks the world down to a subset of app-db. Changes are merged back into the real db when the handler finishes at a path supplied as the first argument in an event (or second argument if you count the name of the event as an arg). (dispatch [:some-event some-data [:my :sandboxed :location])

Returns an interceptor factory that shrinks the world
 down to a subset of app-db. Changes are merged back into
 the real db when the handler finishes at a path supplied
 as the first argument in an event (or second argument if you count the name of the event as an arg).
(dispatch [:some-event some-data [:my :sandboxed :location])
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close