This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-10-03
Channels
- # aws (1)
- # bangalore-clj (3)
- # beginners (3)
- # boot (9)
- # business (1)
- # cljs-dev (72)
- # cljsjs (7)
- # clojure (86)
- # clojure-austin (1)
- # clojure-belgium (4)
- # clojure-brasil (14)
- # clojure-conj (3)
- # clojure-dev (10)
- # clojure-italy (4)
- # clojure-poland (14)
- # clojure-russia (36)
- # clojure-spec (144)
- # clojure-uk (50)
- # clojurebridge (1)
- # clojurescript (160)
- # clr (2)
- # core-async (8)
- # cursive (56)
- # datomic (34)
- # devcards (3)
- # emacs (2)
- # ethereum (1)
- # events (3)
- # hoplon (21)
- # jobs (2)
- # leiningen (9)
- # luminus (3)
- # off-topic (1)
- # om (26)
- # onyx (42)
- # pedestal (29)
- # protorepl (1)
- # re-frame (43)
- # reagent (26)
- # rethinkdb (4)
- # ring-swagger (4)
- # spacemacs (5)
- # specter (4)
- # untangled (102)
- # vim (43)
- # yada (10)
@dzannotti: ah haha. That was a super simple static dictionary parser for a presentation but can't deal with the entire query syntax
@anmonteiro 馃憤 will try it out soon, thanks!
@pvinis now is still the default. Next is alpha, but should be beta soon (no news on that I think) and still lacking in good docs, imho.
I'm working on getting tests for my front end using node. I'm getting Error: Cannot find module 'react'
errors. In stripping down my code, I get these errors in two conditions: one when using defui
, which I can mitigate by requiring cljsjs.react
in the source. I also get this error when I require om.dom
. My code compiles and works fine outside of the test environment. Another difference is that I'm using leiningen for most things, but I'm setting up boot to run the tests. So, yeah, a lot of (too many) moving pieces. cljsjs.react is included in my dependencies, and required in the test namespace. Sounds like a dependency issue, right? Any thoughts on what I might be missing?
@grzm yeah it鈥檚 a weird thing about ReactDOM
see here for a solution: https://github.com/anmonteiro/devcards-om-next/blob/master/build.boot#L73-L97
@grzm probably useful to look at omify鈥檚 too https://github.com/compassus/omify/blob/master/src/test/omify/tests.cljs
Any way to avoid having to require cljsjs.react in my source files? Or will add-node-modules
fix that, too?
hrm, you鈥檒l only need to require cljsjs.react
if you don鈥檛 require om.dom
I think it would be great if you and Tony and Ethan and others hosted a conference or tutorial days or something. I'd definitely be there.
@anmonteiro Cheers for the 0.3.0-SNAPSHOT compassus! :thumbsup:
@alex-glv np hope it鈥檚 working great
let me know any doubts you might have or any feedback at all
Sure, now it solves my routing issues quite well and fits in with the om concepts, ie it was quite easy to start using it immediately, and the docs are good. If anything more constructive pops up I鈥檒l add an issue
awesome 馃憤