Fork me on GitHub
#om
<
2016-10-03
>
dvcrn01:10:01

@dzannotti: ah haha. That was a super simple static dictionary parser for a presentation but can't deal with the entire query syntax

dvcrn01:10:11

Creating a parser requires a bit of brainwork

alex-glv08:10:57

@anmonteiro 馃憤 will try it out soon, thanks!

pvinis09:10:07

is om and om next still a different thing?

pvinis09:10:12

or is next now the default om

alex-glv09:10:01

@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.

pvinis10:10:23

alright, thanks

grzm14:10:12

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?

anmonteiro14:10:33

@grzm yeah it鈥檚 a weird thing about ReactDOM

grzm14:10:43

Thanks! I've been using the compassus tests as a template to follow, btw.

grzm14:10:32

Any way to avoid having to require cljsjs.react in my source files? Or will add-node-modules fix that, too?

grzm14:10:40

Thanks. Do you sleep?

anmonteiro14:10:33

hrm, you鈥檒l only need to require cljsjs.react if you don鈥檛 require om.dom

grzm14:10:49

Well, considering I do want my stuff to render, I'll likely have om.dom required 馃檪

grzm14:10:27

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.

grzm15:10:34

I love testing. Already found broken behavior.

grzm15:10:00

add-node-modules is working just fine. Thanks, anmonteiro !

alex-glv19:10:50

@anmonteiro Cheers for the 0.3.0-SNAPSHOT compassus! :thumbsup:

anmonteiro19:10:15

@alex-glv np hope it鈥檚 working great

anmonteiro19:10:33

let me know any doubts you might have or any feedback at all

alex-glv20:10:16

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

anmonteiro20:10:29

awesome 馃憤