This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2015-12-07
Channels
- # admin-announcements (54)
- # announcements (1)
- # beginners (145)
- # boot (122)
- # cider (10)
- # cljs-dev (25)
- # cljsrn (20)
- # clojure (173)
- # clojure-art (4)
- # clojure-austria (1)
- # clojure-berlin (3)
- # clojure-germany (1)
- # clojure-nl (2)
- # clojure-russia (117)
- # clojure-switzerland (1)
- # clojure-uk (3)
- # clojurebridge (6)
- # clojurecup (36)
- # clojurescript (218)
- # clojurex (1)
- # core-typed (17)
- # cursive (23)
- # data-science (1)
- # datavis (2)
- # datomic (28)
- # emacs (3)
- # flambo (1)
- # hoplon (28)
- # ldnclj (19)
- # lein-figwheel (2)
- # leiningen (1)
- # luminus (1)
- # off-topic (1)
- # om (158)
- # portland-or (1)
- # re-frame (72)
- # reagent (48)
- # remote-jobs (1)
- # slack-help (7)
What toolchain or hosting option should we use for Reagent's docs: https://github.com/reagent-project/reagent/issues/209
Sounds to me like the commenter was expecting Reagent to be more like Rails or any of the other frameworks that mandates a very specific approach, rather than an architecture-agnostic tool. It's like saying that horses are lame because you can't milk them...
Or like saying bricks are terrible because you can build houses with them that fall down quickly 😉
I basically agree with the statement, he hurt himself using Reagent and is using his personal experience as a basis for shaming the entire thing, which is kind of faulty
That said, curiously, I noticed when running on-change
in my standalone input
tag (Not wrapped in a form object) anything I type into it gets casted into a string
Hmm, I'd do like to wonder how I can force it to be int
@eggsyntax @trancehime I have no problem dismissing the content of his rants at all. His assertions are rubbish in my experience. BUT .... the fact someone got themselves into that much of a pickle isn't good. So I'd like us to provide some more advice. But first we have to solve the docs issue.
That much is certain. I have to admit that the docs weren't exactly amazing speaking as a new user of Reagent myself
(I actually started using CLJ+CLJS+related stuff at the start of November)
(sorry if I'm stating the obvious but ...) you should definitely look through the "Reagent Tutorials" section at the bottom of https://github.com/Day8/re-frame/wiki#reagent-tutorials)
oh actually I made extensive use of your re-frame stuff
So thanks for that
The README there was pretty enlightening
I've written up a page on using stateful JS components from within Reagent/Re-frame: https://github.com/Day8/re-frame/wiki/Using-Stateful-JS-Components It is a very green document. Almost certainly has typos. Any feedback about content appreciated.
@mikethompson: I just started with embedding of the google map to my app. Are you reading my mind?
In that case, you are the offical crash test dummy
Ohh, there is a cookbook version .... let me check
I could be repeating what's already there
They overlap a bit, but equally they both show slightly different things.
I'll talk to @gadfly361 about merging
Yeah, my version is untest ....I was more interested in showing the concept, and I needed an example.
So I took one from a Gist I helped to develop some time ago .... but like I said ... it is untested by me
As a result .... you are the crash test dummy
Please report back, if you live
And feel free to hack away at the Wiki page to add what you think is needed.
I'm off to bed.
@mikethompson: happy to report, that it works for me as advertised
@pepe @mikethompson Woot, glad it works! We will update the cookbook soon to reflect this in some form
@gadfly361: only thing, which I am just now solving is the advanced optimization. I added externs.js file and conf to project.clj to [:cljsbuild {:id „min“} :compiler], but somehow I am still getting: Uncaught TypeError: google.maps.ef is not a constructor
ok, I am using more that Map and LatLng, so it could be it? I will try to add other classes
@gadfly361: and :externs [„externs.js“] conf goes to :compiler part? Or the outer one please?
yeah, still no luck 😞. I must be doing something stupid. Still thank you. The cookbook saved me lot of research 😉.
Np, not sure what's going wrong. In my experience working with externs is never painless lol