This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-02-28
Channels
- # aws (7)
- # beginners (69)
- # boot (67)
- # cider (9)
- # cljs-dev (159)
- # cljsrn (2)
- # clojars (25)
- # clojure (345)
- # clojure-austin (9)
- # clojure-berlin (1)
- # clojure-dusseldorf (10)
- # clojure-italy (3)
- # clojure-nl (1)
- # clojure-portugal (1)
- # clojure-spec (73)
- # clojure-uk (59)
- # clojurescript (163)
- # clojurewerkz (1)
- # component (26)
- # core-matrix (2)
- # cursive (20)
- # datascript (32)
- # datomic (15)
- # dirac (16)
- # emacs (3)
- # hoplon (35)
- # jobs-discuss (87)
- # jobs-rus (95)
- # luminus (15)
- # om (135)
- # om-next (3)
- # onyx (47)
- # pedestal (67)
- # perun (74)
- # play-clj (4)
- # portland-or (1)
- # proton (4)
- # re-frame (13)
- # reagent (18)
- # remote-jobs (17)
- # rum (20)
- # specter (11)
- # untangled (101)
- # yada (18)
Tried quil, and got it a bit working, but it doesn’t seem to play nice with re-frame. Maybe I’m doing things wrong but he is redrawing the whole canvas each time, which I think is not effective. Also I don’t like I need to add the canvas tag to the html. As the canvas is only used for one or two views. But maybe there is some way around it. Basically what I want is a simple way to create a function to add, and update a canvas, which I can subscribe to some element in the state.
What's re-frame 0.9.2? I see there's a tag on GitHub and a JAR on Clojars, but there aren't any release notes
I've added a release note in now: https://github.com/Day8/re-frame/releases/tag/v0.9.2. Sorry about the confusion
does this sound crazy? i'd like to create an fx that dispatches a collection of events, but i'd like to mute the signal graph until all events are dispatched.
my use case is that i have a single event to add a view to a query. somewhere else i'd like to add a handful of views. the easiest way would be to map the add-single-view dispatch event over the collection but that's not very efficient and not also not very undo
compatible.
what work do you accomplish in the db
namespace (ie re-frame template)?
I mean, I understand that's where the one-source-of-truth lives, but, do you write much code in there?
@josh.freckleton have a look at todomvc example
db.cljs
normally has a schema (at least)
But there's other data related stuff which can go in there, like LocalStore access, etc
Yep https://github.com/Day8/re-frame/blob/master/examples/todomvc/src/todomvc/db.cljs
nice, so it looks like an initial schema, some specs, utility functions... great thanks!