This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2015-07-17
Channels
- # admin-announcements (22)
- # beginners (15)
- # boot (38)
- # cider (16)
- # clojure (68)
- # clojure-android (1)
- # clojure-berlin (27)
- # clojure-japan (7)
- # clojure-nl (7)
- # clojure-poland (2)
- # clojure-russia (164)
- # clojure-uk (2)
- # clojurescript (321)
- # datomic (42)
- # editors (45)
- # events (4)
- # indycljs (2)
- # jobs (7)
- # ldnclj (7)
- # liberator (4)
- # off-topic (29)
- # om (5)
- # onyx (8)
- # re-frame (6)
- # reagent (44)
- # slack-help (9)
(also have a paginator, which is simpler to make, but still)
I'm happy to consider multiple PRs! Btw, simple isnt necessarily bad. As for quantity, I find it useful to have many working examples to draw from. Only thing I look for is focused recipes that dont try to cover too much.
@coyotespike: the default clojure buildpack (https://github.com/heroku/heroku-buildpack-clojure) will run lein uberjar
during the build if it finds :uberjar-name
in project.clj. But the default Procfile will always run with lein
@pupeno: I believe it reimplements hiccup here - https://github.com/reagent-project/reagent/blob/master/src/reagent/impl/template.cljs
So no, it doesn’t actually use hiccup
@gadfly361: great, I'll write it up and send it your way
@nberger: Thanks for the links - I'm pretty sure my configuration looks like that. My project.clj has :uberjar-name
, my clojure.main
has :gen-class
, and my procfile looks like web: java $JVM_OPTS -cp target/myapp.jar clojure.main -m myapp.server
.
(so myapp.server
has the :gen-class
invocation)
Sure have, and the carousel scrolls nicely along.
puzzled face
Yes, 1.0.6
and in :uberjar {:hooks
hummm... ok... I remember I once had issues with uberjar doing a lein clean which in turn deleted compiled js files, but don't remember what was the exact files layout I had...
Now, I did comment out minify-assets.plugin/hooks
, on account of it was deleting all my edits to my CSS file. But I can't see that would make a difference.
Oh, that's interesting...I'll do some digging
Good idea - no errors there though (except a re-frame warning, ha)
I'd do try to reproduce locally... clean everything, not only lein clean but also manually check if all compiled js files were deleted, then run lein uberjar
Cool, will do
I appreciate the idears
Cool. If you get to reproduce it that way, one thing to check is your :clean-targets
and :output-to
values, on your different cljs build profiles
Well, I confirmed app.js
and
{:output-to "resources/public/js/app.js"
:output-dir "resources/public/js/out"
were both deleted, but it still works after lein uberjar
.I'll look up different Procfile configurations, see if I can spot a difference. Thanks!
np. good luck, come back with more info if it still fails, and maybe continue asking in #C03S1L9DN
Good idea, thanks
Is reagent’s template safe by default? Or is it an xss waiting to happen like Hiccup?
@borkdude: good I can’t believe Hiccup is not.
Where should I ask for re-com help?
argh.... 8 hours tracking down a single-character typo. turns out reagent-forms/bind-fields
wants a vector template, not a function. (def form-template ...)
not (defn form-template ...)
been there
made that exact same mistake too