Fork me on GitHub
#clojurescript
<
2016-07-13
>
akiva00:07:45

Table of Contents and the first chapter.

cdine00:07:56

@akiva. Awesome! Thanks..

akiva00:07:40

No problem.

nha07:07:45

Hello, anyone knows how to use cljsjs/react-leaflet ? I made a gist there but get weird results https://gist.github.com/nha/afb3c839555a4ff53bfa47806b6b4d2a

turbopape09:07:26

@cdine reagrding the TOC for the clojurescript book: there is indeed one, in packt website:

cdine13:07:42

@turbopape: thanks.. I have it now

raymcdermott16:07:10

@micha and @alandipert have done a great job using CLJS for their UI / RPC libs

sdegutis16:07:08

What's the most popular yet reasonable way to get started with writing a modern web-store with a Clojure back-end and a ClojureScript front-end, assuming Reagent will be used? What tools and libs are most popularly involved in this kind of thing?

manutter5116:07:45

That sounds like a luminusweb app (http://www.luminusweb.net/) with the +cljs option and maybe some others.

manutter5116:07:26

Check out the application profiles for a list of the options you can pass to lein new (http://www.luminusweb.net/docs/profiles.md)

ed_phos19:07:41

Hi all. I'm working with clojurescript and enjoying it. And I like the affordances it offers. I'm noting as I work with it that the docs for testing are not current with the latest introduction of spec. I'm interested in examples that integrate the use of spec into a testing flow.

dnolen19:07:09

@ed_phos: cljs.spec is not up-to-date anyway

dnolen19:07:43

shooting to get something out that’s in sync with latest Clojure alpha this week

ed_phos19:07:29

@dnolen: thanks so much, David.

ed_phos19:07:49

What are the best examples of the use of spec with clojurescript, even if they are not current?

dnolen19:07:06

no idea I’m assuming people are avoiding at the moment since it’s woefully out of date with the latest changes

ed_phos19:07:00

@dnolen: Oh. I see. thanks.

thomas20:07:56

Hi All….

thomas20:07:40

I am trying to do a POST from my cljs code with cljs-ajax… but on my compojure server I don’t get any data (as in nothing in the body)

thomas20:07:04

if I do a curl -X POST I can see something if I print it out.

thomas20:07:34

in my curl I have to set the content-type…otherwise it doesn’t come through...

thomas20:07:46

any idea what I could be doing wrong? TIA!!!

bostonaholic21:07:46

@thomas: POST should send its data in :params not :body

bostonaholic21:07:11

and you will get it from :params of the request in compojure

thomas21:07:02

ok got it working, do a :params on the cljs side and a (slurp (:body req)) on the compojure side...

thomas21:07:12

Thanks again @bostonaholic !!!!

bostonaholic21:07:31

it should be in the (:params req)

hueyp22:07:54

if I have deps in the examples profile should lein with-profile +examples figwheel pick them up?

hueyp22:07:04

or do plugins not use that?