[ClojureScript] Re: React Fiber, Relay Modern and Clojurescript

2017-04-21 Thread Dom Kiva-Meyer
On Friday, April 21, 2017 at 9:56:36 AM UTC-4, g vim wrote: > With Facebook is about to launch React Fiber and Relay Modern is > Clojurescript development likely to target them and, if so, what are the > implications for Om Next given that the new React/Relay is based on GraphQL? > > gvim

Re: [ClojureScript] ANN: ClojureScript 0.0-2496, cljs.test - a clojure.test port

2014-12-17 Thread Dom Kiva-Meyer
Thank you! This is awesome news. On Wed, Dec 17, 2014 at 1:54 PM, David Nolen dnolen.li...@gmail.com wrote: ClojureScript, the Clojure compiler that emits JavaScript source code. README and source code: https://github.com/clojure/clojurescript New release version: 0.0-2496 Leiningen

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

2014-10-18 Thread Dom Kiva-Meyer
You are resolving the protocol method symbol. `(-invoke ...) expands to (your.namespace/-invoke ...) To fix this, you need to quote (not syntax-quote) and unquote the symbol. `(~'-invoke ...) expands to (-invoke ...) Make liberal use of clojure.core/macroexpand, clojure.core/macroexpand-1, and

Re: [ClojureScript] Re: [ANN] Silk, an isomorphic routing library for Clojure and ClojureScript

2014-08-10 Thread Dom Kiva-Meyer
Good stuff, Marc! Thanks for the feedback. That behavior in `composite` is a bug. Thanks for reporting. Sorting the query map seems reasonable. Good suggestion! Thanks again, Marc. On Sat, Aug 9, 2014 at 8:05 PM, marc marc.bosc...@gmail.com wrote: I've been playing and like Silk a lot!

Re: [ClojureScript] Re: [ANN] Silk, an isomorphic routing library for Clojure and ClojureScript

2014-08-09 Thread Dom Kiva-Meyer
Hi Allen, Thanks for the feedback! 1) This, and precompiling regexes where possible, is my intention with Silk. 2) I'm not convinced that requiring fully-qualified routes would be a feature. Let's say we have route A which should match /foo/bar and route B which should match /foo/*. If these

Re: [ClojureScript] Re: [ANN] Silk, an isomorphic routing library for Clojure and ClojureScript

2014-08-07 Thread Dom Kiva-Meyer
Thanks for your feedback, Dylan! If you define routes with :path and :query, will the route match/unmatch with undefined query keys? If so, how are they handled? If not, I'd suggest making query matching optional, where nils are substituted. I'm not entirely sure what you mean, but I'll give

[ClojureScript] Re: [ANN] Silk, an isomorphic routing library for Clojure and ClojureScript

2014-08-06 Thread Dom Kiva-Meyer
Hi Craig, Great question! Bidi https://github.com/juxt/bidi is a fantastic library and was my favorite Clojure routing library prior to Silk. The design of Silk was heavily influenced by that of Bidi. In terms of commonalities, both Silk and Bidi are bidirectional, pure (no side effects), based

Re: [ClojureScript] Re: [ANN] Silk, an isomorphic routing library for Clojure and ClojureScript

2014-08-06 Thread Dom Kiva-Meyer
Hi Joel, Thanks for your feedback. Off topic, but Garden is awesome and Ankha has been indispensable when developing Om applications! Thanks for those. I didn't complain or suggest a patch because, aside from Bidi, I didn't find a Clojure or ClojureScript routing library that I could conceive of

Re: [ClojureScript] [ANN] unitesting using :optimizations :none

2014-08-06 Thread Dom Kiva-Meyer
Hey Mike, This is awesome! Thanks for making and sharing it. Looking forward to giving it a try. Cheers, Dom On Sun, Aug 3, 2014 at 5:51 AM, Mike Thompson m.l.thompson...@gmail.com wrote: I've created a repo which shows how to mix: - emerick.cljs.test (a unittest framework) - with

Re: [ClojureScript] [ANN] Om Server Rendering Example

2014-08-06 Thread Dom Kiva-Meyer
it production ready as soon as possible. Thanks again for sharing! Dom On Sat, Aug 2, 2014 at 3:12 PM, Dylan Butman dbut...@gmail.com wrote: I was really excited to see [Dom Kiva-Meyer](https://github.com/DomKM)'s article on [Isomorphic Clojure[script]]( http://domkm.com/posts/2014-06-15-isomorphic

[ClojureScript] [ANN] Silk, an isomorphic routing library for Clojure and ClojureScript

2014-08-04 Thread Dom Kiva-Meyer
I have recently been experimenting with isomorphic Clojure and ClojureScript architecture http://t.signauxsix.com/link?url=https%3A%2F%2Fgithub.com%2FDomKM%2Fomeletteukey=agxzfnNpZ25hbHNjcnhyGAsSC1VzZXJQcm9maWxlGICAgKy2ku4IDAk=cc73e108-936d-4e2c-f625-7a414698957a. The goal is to make

Re: [ClojureScript] Invalid token: ::om/pass

2014-07-26 Thread Dom Kiva-Meyer
`::om/pass` is not a valid keyword. Keywords with two colons are resolved to the current namespace. For example, `::key` inside of `my.namespace` is the same as `:my.namespace/key`. `::om/pass` is not valid because `:my.namespace/om/pass` is not valid. On Fri, Jul 25, 2014 at 4:27 PM, Makoto H.