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)
Hi guys. I’m so exited about datascript
and rum
, thank you @tonsky for the great work!
The only thing I can’t figure out is how to make them work together? Is there a standartized way? I know that I can just inject reactive mixin inside the component, but I don’t want to rerender everything every time something changed in the database, I don’t even want to execute all the queries all the time.
Any suggestions?
I found out that in practice entities work much better than queries. As of rerendering everything every time, you’ll have to roll out your own solution
Yeah, that’s what I thought. Thank you for answer @tonsky
Any thoughts on how such a solution might look?
I'm attempting it with a new om.next inspired library where the parser only runs queries that matter. It'll hopefully incrementally update both queries and pulls when I'm done. I have taken on quite a lot of stuff, but it's getting closer to being usable. om.next parser library - http://github.com/petterik/lajt om.next-like library - http://github.com/petterik/lajter
I'm thinking a love child of om.next and datascript. Yep @petterik, thanks for the reminder to check these out in more detail.
lajter
is your take on om.next, with lajt
ideas integrated?
Also, @denis_krivosheev since we're on the topic of frontend libraries that work with datascript: There was recently a new release of re-posh (https://github.com/denistakeda/re-posh) - if you want to try out datascript and re-frame. Or just posh (https://github.com/mpdairy/posh) - datascript and reagent