This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-07-05
Channels
- # admin-announcements (10)
- # beginners (18)
- # boot (29)
- # capetown (2)
- # cider (46)
- # cljs-dev (1)
- # cljsrn (69)
- # clojure (126)
- # clojure-android (9)
- # clojure-gamedev (3)
- # clojure-greece (16)
- # clojure-poland (13)
- # clojure-russia (45)
- # clojure-spec (27)
- # clojure-uk (21)
- # clojurescript (99)
- # cursive (1)
- # datascript (1)
- # datomic (42)
- # functionalprogramming (10)
- # hoplon (47)
- # instaparse (12)
- # jobs (5)
- # jobs-rus (9)
- # keechma (22)
- # lein-figwheel (8)
- # leiningen (5)
- # luminus (1)
- # mount (7)
- # off-topic (1)
- # om (15)
- # onyx (47)
- # other-languages (14)
- # planck (28)
- # proton (8)
- # re-frame (30)
- # reagent (15)
- # remote-jobs (3)
- # slack-help (2)
- # untangled (9)
- # yada (6)
For an advanced search component, what would be more cleaver architecture. Root -> Search Query -> Search Results. Or Root -> siblings(Search Query ; Search Results).
@abtv: for your release build, set the goog.logger level to none
(:require [om.next :refer [*logger*]]
[goog.debug.Logger.Level :as level])
…
(.setLevel *logger* (level/getPredefinedLevel "OFF"))
@abtv: @ethangracer: alternatives are setting the :logger
to nil
in the reconciler and setting goog.DEBUG
to false
in the CLJS compiler option closure-defines
cool, thanks @anmonteiro that’s a lot simpler
@anmonteiro: great thanks! closure-defines
is the best way in my case
How again can I specify a react key for a node?
I tried :key
in the attributes map but that didn't work
@martinklepsch: :key
for om.dom
elements, :react-key
for Om (Now or Next) components
(om/build currency-option {:value (:code currency) :text label :react-key (:code currency)})
@anmonteiro: like this?ah needs to be two separate maps apparently
Given a setup like in the wiki for idents (https://github.com/omcljs/om/wiki/Components,-Identity-&-Normalization), is (om/ident Person {:name "bob"})
a valid way to generate an ident for a Person if I don't have a component instance for it (for example, in a custom merge function)? It seems to work until advanced compilation gets turned on.
hi, is it possible to use om to develop react components which will plug into an existing javascript react application?
(To answer my own question, I suspect the answer is no, given om/get-query
exists and has this special case for advanced compilations: https://github.com/omcljs/om/blob/747655fe65b4a46a502d9b76171642ef0f67d532/src/main/om/next.cljs#L302-L309 )