It's pretty new so I guess it really is still a work in progress, but I
find the text confusing as it makes it sounds like the "documentation site"
is what's still a work in progress.

In any case, I'm also very interested in porting this to Om. I'm thinking
an auto generated wrapper like what bootstrap-cljs does for react-bootstrap
is probably the way to go. I'll take a stab at it next weekend, if I get
time.

On Sun, 11 Jan 2015 05:24 Timothy Washington <[email protected]> wrote:

> Hi Sam,
>
> I recently tried integrating Google's Polymer
> <http://polymer-project.org/> web component library with clojurescript.
> You *can't* use it with Om (or at least I couldn't) because it uses
> React's prescribed HTML tags
> <https://github.com/swannodette/om/blob/master/src/om/dom.clj#L4>.
> Freactive is another Clojurescript / React library where you *can* use
> Polymer. As far as I can tell, that's because inserting a node is done 
> directly
> on the DOM
> <https://github.com/aaronc/freactive/blob/master/src/clojure/freactive/dom.cljs#L651>.
> That's all to say that "*web components*" are still new ground, being
> fleshed out in Clojurescript and React.
>
> There is a way to have your own custom "*web components*" with React. You
> just need to i) create those web components (shadow dom and all) and
> register them with React proper. It looks like that's what Material UI
> <http://material-ui.com/> is trying to do. So in theory, yes you should
> be able to use it with Om, Reagent, Freactive, etc.
>
> Material UI looks very much like what I currently need (marrying web
> components and clojurescript / react). I wish I had known about it last
> month. So not having used it at all, I can't say that it's ready for
> production. Their own github site
> <https://github.com/callemall/material-ui#material-ui> describes it as a
> "work in progress".  So I would just experiment with it for now.
>
>
> Hth
>
> Tim Washington
> Interruptsoftware.com <http://interruptsoftware.com/>
>
>
> On Thu, Jan 8, 2015 at 9:47 PM, sam pendleton <[email protected]> wrote:
>
>> I don't think I was clear... I prefer Material-Ui because React.js /
>> virtual DOM implementations are what I want to use. See [A] for more
>> details.
>>
>> 1. I would like to use Material-UI and Clojurescript. Is it possible?
>> 2. Would it be possible to use Material-Ui with one of the react.js
>> wrappers already available?
>> 3. Would using Material-UI in this way cause any issues such that this
>> setup shouldn't be in production?
>>
>> Thank you for your time, and thanks for this great language.
>>
>> [A]
>>
>> http://jlongster.com/Removing-User-Interface-Complexity,-or-Why-React-is-Awesome
>> "Aren't you tired of having to query the DOM tree and manually manage the
>> structure to create UIs? Web Components doesn't solve this at all, it just
>> tries to encapsulate the work. The problem is that building apps is
>> building components, so you inevitably are forced back into the manual DOM
>> management to create your app-specific components (like how you constantly
>> have to create directives in Angular). You also need to jump into
>> JavaScript to configure and wire up any Web Components you used. It's a
>> very messy abstraction, and fools you into desiring a pure HTML-based
>> declarative way to write apps, which is like wanting steak but eating
>> liver."
>>
>> On Thursday, January 8, 2015 at 9:30:47 PM UTC-5, sam pendleton wrote:
>> > Is it possible to use one of these material design libraries?
>> >
>> > Material-UI
>> > http://material-ui.com/
>> > https://github.com/callemall/material-ui
>> >
>> > Material Design for Bootstrap
>> > https://fezvrasta.github.io/bootstrap-material-design/
>> > https://github.com/FezVrasta/bootstrap-material-design
>> >
>> > I am new to Clojurescript, and I don't know how to do this or if it's
>> even possible. If it is possible, how do you use one of these projects with
>> Clojurescript?
>>
>> --
>> Note that posts from new members are moderated - please be patient with
>> your first post.
>> ---
>> You received this message because you are subscribed to the Google Groups
>> "ClojureScript" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> To post to this group, send email to [email protected].
>> Visit this group at http://groups.google.com/group/clojurescript.
>>
>
>  --
> Note that posts from new members are moderated - please be patient with
> your first post.
> ---
> You received this message because you are subscribed to the Google Groups
> "ClojureScript" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/clojurescript.
>

-- 
Note that posts from new members are moderated - please be patient with your 
first post.
--- 
You received this message because you are subscribed to the Google Groups 
"ClojureScript" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/clojurescript.

Reply via email to