[ClojureScript] Weex & Rax by Alibaba - Alternative & compatible ReactJS/ReactNative JavaScript Frameworks

2017-02-04 Thread office
Not long ago, Alibaba open sourced two intriguing projects that may interest the ClojureScript community as well. Here are some links: Weex - Build web & Mobile Android, iOS Native Apps with JavaScript / by Alibaba (alternative to ReactNative & NativeScript) https://weex-project.io/ https://we

[ClojureScript] Upgrading to 1.9.456 challenges with foreign-libs and synchronous XMLHttpRequest in Chrome

2017-02-04 Thread Hitesh
I'm trying to upgrade a project from 1.8.51. It has some foreign libs and manually defined externs in it which were working fine. :foreign-libs [{:file "https://cdnjs.cloudflare.com/ajax/libs/gsap/1.18.5/TweenMax.min.js"; :provides ["TweenMax"]}] :externs ["rea

[ClojureScript] Re: CSS in CLJS

2017-02-04 Thread Thomas Heller
Just define them inside the element. (defstyled h1 :h1 [_] {:color "red" "@media (max-width: 600px)" {:color "green"}}) Or put the query inside a def, so you can re-use it. https://github.com/thheller/reagent-test/blob/1dd4193273984971fd1f8fb9717d804a475785af/src/reagent_test/core.cljs

[ClojureScript] Re: CSS in CLJS

2017-02-04 Thread Eoin
On Thursday, February 2, 2017 at 10:36:43 PM UTC, Thomas Heller wrote: > Hello, > > I'm not sure how many of you are in this horrible situation where you have to > write CSS for your React Components. I typically have to write way more than > I'd like and always hated the way I wrote it. Until a