Re: [ClojureScript] Deleting and local state

2014-10-19 Thread Andreas Liljeqvist
You assumed correctly about the build-all function. Adding a {:key :id} solves my problem. Still I would hope that OM would fall back to value comparison if no key is provided.(like the delete function) This should probably be added to the tutorial since people will run into it quite fast.

[ClojureScript] Ecmascript6 is a threat?

2014-10-19 Thread Yehonathan Sharvit
Do you guys think that Ecmascript6 is a threat to 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

[ClojureScript] Re: 2014 State of Clojure ClojureScript Survey ends Oct 17th

2014-10-19 Thread Yehonathan Sharvit
On Tuesday, 14 October 2014 16:21:13 UTC+3, Alex Miller wrote: Just a reminder that this Friday is the last day to complete the 2014 State of Clojure ClojureScript surveys: http://blog.cognitect.com/blog/2014/10/3/2014-state-of-clojure-clojurescript-survey So far 1110 people have

[ClojureScript] Writing Clojurescript with Angular

2014-10-19 Thread Yehonathan Sharvit
Hello, I am pushing very strong clojurescript in my company. Currently we use cljs + angular. I am curious to know how many people use this stack and do you have any recommendation? Thanks. -- Note that posts from new members are moderated - please be patient with your first post. ---

Re: [ClojureScript] 2014 State of Clojure ClojureScript Survey ends Oct 17th

2014-10-19 Thread Gary Verhaegen
Yes, they do. Probably within two weeks from now, according to the original announcement. No hard deadline though. On Sunday, 19 October 2014, Yehonathan Sharvit vie...@gmail.com wrote: On Tuesday, 14 October 2014 16:21:13 UTC+3, Alex Miller wrote: Just a reminder that this Friday is the

Re: [ClojureScript] Ecmascript6 is a threat?

2014-10-19 Thread Gary Verhaegen
Not anymore than Java 8 to Clojure. JavaScript is getting better, but it's still not a lisp and it's still not using immutable values *by default*. On Sunday, 19 October 2014, Yehonathan Sharvit vie...@gmail.com wrote: Do you guys think that Ecmascript6 is a threat to clojurescript? -- Note

Re: [ClojureScript] 2014 State of Clojure ClojureScript Survey ends Oct 17th

2014-10-19 Thread Alex Miller
I hope to have something including the raw results published early this week but depends how long it takes to make a report. Alex On Sunday, October 19, 2014 5:47:21 AM UTC-5, Gary Verhaegen wrote: Yes, they do. Probably within two weeks from now, according to the original announcement. No

Re: [ClojureScript] Extending a clojurescript protocol inside a macro

2014-10-19 Thread Russell Dunphy
Thanks, that's definitely a step in the right direction. It still doesn't work, but there is now a function for arity 1 of invoke in the __proto__ map. There's still a `true` value for cljs.core$ifn$-invoke however, which I'm guessing is related to why it's not working. I would desperately

Re: [ClojureScript] Extending a clojurescript protocol inside a macro

2014-10-19 Thread Russell Dunphy
Phew! Got it working. Thanks for your tip, Dom. For some reason I had the idea that macros written for clojurescript needed to be expanded in a clojurescript repl. Once I realised that was incorrect things became much easier. In the end i just needed to also quote unquote the `IFn` protocol

[ClojureScript] Writing Clojurescript with Angular

2014-10-19 Thread Rory Douglas
I'm not using this, but I'd be interested to know if you're using Gyr or just direct JS interop? -- 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

[ClojureScript] Re: Writing Clojurescript with Angular

2014-10-19 Thread Kevin Lynagh
On Sunday, October 19, 2014 2:28:52 AM UTC-7, Yehonathan Sharvit wrote: Hello, I am pushing very strong clojurescript in my company. Currently we use cljs + angular. I am curious to know how many people use this stack and do you have any recommendation? Thanks. My company has

[ClojureScript] Om + GSS

2014-10-19 Thread Ruslan Prokopchuk
Does anybody have experience using Om GSS (gridstylesheets.org) together? Especially in live environment like lein-figwheel. Plain Om + GSS combination works fine (as I hope; I haven't investigated this far because of struggling with problem described below), but when lein-figwheel sends

Re: [ClojureScript] Re: Writing Clojurescript with Angular

2014-10-19 Thread Gary Trakhman
Now cljs supports 'specify' so it'll be a bit easier to work with angular than when Kevin wrote his original blog post. http://dev.clojure.org/jira/browse/CLJS-414 I tried to build something with CLJS/Angular before Om was a thing, and I found it hard to keep track of what kind of data I was

[ClojureScript] Re: Newbie advice on cljs + om?

2014-10-19 Thread Mike Haney
Here are a few things I've picked up working on a large Clojure/Clojurescript app the last several months. Some of this is just personal opinion or what works for me, so as usual YMMV. 1) Reagent vs Om - I went back and forth (several times) between these two early in the project. I'm using