This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-03-29
Channels
- # beginners (14)
- # boot (83)
- # cider (13)
- # cljsrn (4)
- # clojure (240)
- # clojure-argentina (1)
- # clojure-berlin (2)
- # clojure-canada (1)
- # clojure-dusseldorf (1)
- # clojure-greece (2)
- # clojure-india (2)
- # clojure-japan (2)
- # clojure-russia (23)
- # clojure-taiwan (2)
- # clojure-uk (12)
- # clojurescript (138)
- # cursive (6)
- # datomic (36)
- # hoplon (245)
- # jobs-discuss (35)
- # lein-figwheel (4)
- # melbourne (2)
- # off-topic (1)
- # om (26)
- # om-next (2)
- # onyx (23)
- # proton (8)
- # quil (1)
- # re-frame (9)
- # ring-swagger (2)
- # untangled (10)
- # yada (6)
@anmonteiro: full-query doesn't contain the ident it seems, but i was able to construct what i needed with get-query
I wonder if it might make sense to support componentless ident metadata in queries -- {:foo ^{:ident (fn [props] ...)} [:bar]}
? -- for normalization when referenced data does not need its own component?
You don't need to actually render the component that you include in the query (iirc). So you can make a component that doesn't have a render, and include its query in a parent.
(Hi again!)
I suspect tomjack doesn't like the idea of components that don't render, that's all. It does seem a bit odd to have such things. But personally I'd rather have them than have to remember some weird special case metadata syntax.
yeah. to me the weird thing is using defui/ui for a piece of data and a function, not metadata
also, it need not be a special case, maybe? I imagined that om/get-query might put the :ident metadata on the query
I'll ask again because none replied last time - is there any at least newbish example of server-side query parser for some SQL db? I kidna have hard time realizing this is not hot question because as nice as datomic is, if Om Next is demonstrated with just Datomc examples around, it seems to me it won't find larger adoptance?
In the file om/dom.clj for svg there is missing filter and feGaussianBlur, if they were added, wouldn't they work with svg's? (and probably more tagged svg functions)
@hlolli: they wouldn't
React only supports these: https://facebook.github.io/react/docs/tags-and-attributes.html#svg-elements
that said, you can use other tags with ReactDOM.dangerouslySetInnerHTML
@vmarcinko: I don't think there is such a thing. Sounds like a useful library for someone that needs it to write.
anyone happen to have already gotten chrome's password saving to work for an om.next login form?
@vmarcinko: i will write one soon for .NET that i could probably show, if you think that will help
@vmarcinko: probably just an FSharp lib on .NET. I can't change the backend to JVM at the moment.
I asked this very question because being able to specify the query on client, and somehow execute it simply on backend is IMO biggest selling point of Om.Next and other JS libs that Om has been inspired by (Relay/Falcor), but it seems to me that backend story is really up in the air mostly, if one doesn't look at datomic, which is usually the case with systems out there
And it seems to me from quick glance, that this is also the reason that Relay hasn't taken off in big way in JS land also