This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-11-07
Channels
- # bangalore-clj (1)
- # beginners (255)
- # boot (29)
- # cider (16)
- # cljs-dev (13)
- # cljsrn (6)
- # clojure (200)
- # clojure-berlin (1)
- # clojure-dev (13)
- # clojure-dusseldorf (6)
- # clojure-greece (1)
- # clojure-india (1)
- # clojure-italy (1)
- # clojure-russia (33)
- # clojure-spec (28)
- # clojure-uk (27)
- # clojurescript (47)
- # cursive (32)
- # data-science (3)
- # datascript (1)
- # datomic (40)
- # emacs (39)
- # events (4)
- # fulcro (55)
- # graphql (16)
- # immutant (2)
- # luminus (2)
- # lumo (5)
- # off-topic (142)
- # onyx (50)
- # portkey (1)
- # re-frame (45)
- # reagent (80)
- # remote-jobs (2)
- # ring-swagger (3)
- # rum (9)
- # schema (3)
- # shadow-cljs (184)
- # spacemacs (3)
- # test-check (4)
- # unrepl (2)
- # yada (5)
What are the reasons why optimization can not be whitespace when targeting for nodejs?
I’m trying to add classes to svg elements manually, because our older jquery version doesn’t work here. Maybe there is something in goog.dom I could use to add classes to a list of elements
It's cheating though, and if that function one day receives a {:pre (array? prim)}
it'll start failing
Hi guys, can anyone suggest learning materials for ClojureScript development? Ideally in course form.
@borkdude You could try goog.array/toArray
. I've used that before to make some list-ish js thing seqable.
haven't watched
courses myself, don't know if one could reasonably jump from some minimal clj to following this vid
@mihailt hey there! What kind of stuff are you looking to learn?
syntax/semantics? ClojureScript setup?
something like quick from zero to hero stuff 😄 syntax, dom, ajax, om, reagent etc. and some setup stuff like lein, boot, figwheel etc.
gotcha
I'm working on something like that
but it's nowhere near ready
right now focused on Re-frame
where are you at in terms of syntax?
This one is good for learning the syntax
this doesn't look bad https://www.niwi.nz/cljs-workshop
yeah, not sure
things haven't changed quite that much since 2015
so maybe it's okay
@ericnormand also Re-frame sounds great, what is your timeline on the release?
I'll probably do a pre-sale next week
it's going to be a big course, so it will probably be finished in December
someone had conflicts with embedding cljs code to a site that uses requirejs, I'm hitting this error Uncaught Error: Mismatched anonymous define() module: function
and then it states that React isn't a variable. I'm guessing it's coming from react, looking at the advanced compield code
var define,module,exports;return function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND"
ah it's coming from a react plugin I'm useing, https://github.com/wwayne/react-tooltip/blob/1daef49365f5aa9532826d22efe591498beac9f8/standalone/react-tooltip.js#L1 why are they doing this, pff, I remove it.
for what it's worth, https://stackoverflow.com/questions/24746175/how-can-i-disable-require-js-at-runtime prepending and appending this js code works like charm and requirejs shuts up.
It’s tiny but fierce. lein-nashtest for testing CLJS without namespace pollution. 🙂 https://github.com/nfisher/lein-nashtest
Naive question: if I don't care about startup time and download size, do I gain anything else by doing the advanced optimizations of Closure? Or can I just ship exactly what I have in dev?
I would really like to take a course on re-frame, just sayin.
Anyone about..? I have a weird issue… I have created a 3-form component in my Reagent code so that I can embed LeafletJS maps into other Reagent components. The problem is that the first time I use it it does not appear to have access to my app-state ratom. It feels as though there must be a weird order of precedence thing that I just don’t get here, but anyway… Can anyone help?
@maleghast you might want to post this in the #reagent channel
@manutter51 - Thanks, that’s a good point!