This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-10-27
Channels
- # announcements (1)
- # beginners (71)
- # braveandtrue (4)
- # cider (1)
- # cljs-dev (4)
- # cljsrn (8)
- # clojure (111)
- # clojure-italy (5)
- # clojure-spec (22)
- # clojure-uk (8)
- # clojurescript (80)
- # cryogen (14)
- # cursive (7)
- # data-science (1)
- # datomic (25)
- # dirac (1)
- # figwheel-main (4)
- # fulcro (13)
- # incanter (1)
- # off-topic (6)
- # other-languages (3)
- # pathom (11)
- # portkey (5)
- # re-frame (13)
- # reagent (3)
- # reitit (24)
- # ring-swagger (7)
- # shadow-cljs (63)
- # spacemacs (3)
- # specter (4)
- # tools-deps (9)
just answering myself - helps to think aloud sometimes. I did end up using a layer 3 sub. the struggle I had was with trying to consolidate my data and others data but since I really need to worry about only possible changed at any given time, I just sub to that as an input and replace in the outgoing set
hmm I take that back. the layer 3 sub works great when I'm on the item being, but the data is still duplicated and as soon as I move on the next element, the stale data shows up in my calendar. would it be a total heresy to send a dispatch from a sub (as in, I noticed this data is changed, can you update)?
> as soon as I move on the next element this sounds like a UI action that can dispatch an event dispatching from a sub sounds like a bad idea
https://reactjs.org/docs/hooks-intro.html seems very like re-frame to me.
@gklijs Not sure i see it. useState
seems more like cursors (which I regard as bad)
Maybe if I read more I'll see the connection
> With Hooks, you can extract stateful logic from a component so it can be tested independently and reused.
i took a look at react hooks when my coworker told me about how exciting they’re going to be. i’m not sure i get it. i think i’ve been using reframe and cljs so long i’ve forgotten the problems that the javascript world is still trying to solve?
the stateful/effect hooks still look far less powerful than* what subscriptions and event handlers provide
maybe someone more recently involved in the react world can better explain to me the purpose?
Question: who uses the Event Handler Tracing
feature of re-frame-10x
https://github.com/Day8/re-frame-10x/blob/master/docs/HyperlinkedInformation/EventCodeTracing.md
I'm just trying to get a feel for who knows about it, and who actually uses it (as a proxy for who finds it useful).