This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-06-13
Channels
- # beginners (36)
- # boot (1)
- # cider (4)
- # cljsrn (2)
- # clojure (137)
- # clojure-brasil (3)
- # clojure-czech (3)
- # clojure-italy (17)
- # clojure-nl (8)
- # clojure-spec (7)
- # clojure-uk (153)
- # clojurescript (84)
- # data-science (2)
- # datascript (13)
- # datomic (30)
- # editors (64)
- # emacs (22)
- # events (6)
- # figwheel (26)
- # fulcro (7)
- # hoplon (5)
- # jobs (5)
- # jobs-discuss (57)
- # keechma (3)
- # leiningen (4)
- # luminus (1)
- # midje (2)
- # off-topic (26)
- # portkey (18)
- # re-frame (4)
- # reagent (10)
- # ring-swagger (3)
- # shadow-cljs (135)
- # spacemacs (5)
- # sql (14)
- # tools-deps (125)
can someone speak to the idea of managing database entities via an isolated set of controls .. like an “interface of events”: profile/fetch, profile/fetched, profile/fetch-errored
. parts of your app wanting that data go through your subscription, parts of your app that require that data can initialize a fetch, parts of the app that need to update that data do so through some profile/update
event. is this a terrible idea?
what immediately strikes me is 1) nice to isolate data access / mutations in one place 2) consumers of this interface would most likely want hooks into post-update events…
if each major domain entity controls its own access, they could share a common interface on update such as dispatch [:entity-name/update {:before [:an-event] :after [:an-event] :data {:map-of-new "data"}}]
Is there additional configuration that is needed to add 10x
to a projected generated with the lein new re-frame APP +10x +cider
command?
So far as I can tell, the template matches the instructions (https://github.com/Day8/re-frame-10x/blob/master/docs/HyperlinkedInformation/EventCodeTracing.md). Presumably it is the latest release as it includes [cider.piggieback "0.3.5"]
.
Currently app-db
is empty though it is correctly rendering "Hello from re-frame"
. Code tracing is not enabled
in the Events tab, though ns.events
has correctly rendered fn-traced
instead of fn
on the initialize-db
event. Any insight would be appreciated...
Here’s a screenshot -
https://pasteboard.co/HpJkI5G.png