This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-02-18
Channels
- # beginners (56)
- # boot (1)
- # cider (96)
- # cljs-dev (148)
- # clojure (60)
- # clojure-austin (11)
- # clojure-france (2)
- # clojure-italy (5)
- # clojure-russia (11)
- # clojure-spec (31)
- # clojure-uk (5)
- # clojurescript (52)
- # community-development (37)
- # cursive (3)
- # data-science (8)
- # datomic (14)
- # devcards (2)
- # emacs (1)
- # fulcro (13)
- # hoplon (1)
- # immutant (2)
- # luminus (3)
- # off-topic (2)
- # onyx (16)
- # parinfer (38)
- # re-frame (8)
- # reagent (5)
- # shadow-cljs (332)
- # spacemacs (5)
- # specter (5)
- # sql (6)
- # vim (52)
@mattsfrey: You may try my approach : instantiate 3 different templates and compose from the best (or most up-to-date) part of them: - lein new figwheel myFigwheel - lein new re-frame myReframe - use chestnut I don't know about Luminus.
Luminus is a very strong option, and it supports re-frame
Alohaa, another question for Reframe. How do I access a value in the state just once, without subscribing to it? Is this possible or is it totally the wrong approach? For example I have a list of Users in the State which I want to go through in the frontend, to see if it contains a certain value. I just want to do that once when I press a button for example, without rerendering everything. similar way in React would be “MapStateToProps” and the i can access them easily
… Or how can I do an if-statement in reg-event-db
so I can update the state if value is not contained in vector?
You have lots of options. You could have something like an add-value event, and just return the current db if it's already present?