Fork me on GitHub
#clojurescript
<
2019-03-26
>
lilactown17:03:26

OK I went a little crazy with the macros: https://github.com/Lokeh/hx/pull/43 😉

👀 5
schmidt7319:03:21

I'm getting the following error when running (cljs.repl/doc map):

schmidt7319:03:36

#object[TypeError TypeError: Cannot read property 'print_doc' of undefined]

schmidt7319:03:54

Anyone know what is up with this? I'm using figwheel.

schmidt7319:03:48

It works after I require 'cljs.repl which is confusing because I woudl expect it to work regardless.

hipster coder22:03:51

About if clojurescript can handle web sockets

Mno22:03:29

If your question is: “Can clojurescript handle web sockets?” the answer is yes. A library I’ve seen that makes use of them is: https://github.com/ptaoussanis/sente

👍 4
hipster coder23:03:55

Awesome. I just looked at Figwheel. It looks fantastic for debugging Javascript.

john23:03:19

It's pretty much magic

hipster coder00:03:02

At first, I thought clojurescript was just another coffeescript... but it solves so much more. Way better.

hipster coder00:03:51

I don't know if I need vue js or react js after diving more into clojurescript

hipster coder00:03:04

Because it is already really modular

seancorfield00:03:37

You could look at Reagent and re-frame -- so you'd be using React.js behind the scenes but you wouldn't need to worry about it or learn much about it (which is a definite "win" in my book).

fiddlerwoaroof00:03:17

Or there’s also Hoplon

john01:03:40

Yeah, functional programming imposes a certain kind of hygiene over imperative mutation that makes it easier to think about how data moves through chains of processes and Clojure makes that hygiene syntactically idiomatic. So while cljs reminds you of coffeescript's succinctness, the real payoff is how it helps you concisely reason about long chains of data transformations.

👍 4