This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-04-28
Channels
- # admin-announcements (1)
- # aws (2)
- # beginners (21)
- # boot (28)
- # braid-chat (1)
- # cider (51)
- # cljs-edn (7)
- # cljsjs (35)
- # cljsrn (2)
- # clojure (85)
- # clojure-chicago (7)
- # clojure-czech (1)
- # clojure-gamedev (3)
- # clojure-poland (2)
- # clojure-russia (80)
- # clojure-sanfrancisco (1)
- # clojure-uk (5)
- # clojurebridge (9)
- # clojurescript (68)
- # cursive (29)
- # datomic (23)
- # emacs (2)
- # hoplon (94)
- # jobs-discuss (15)
- # juxt (2)
- # liberator (2)
- # luminus (16)
- # mount (12)
- # off-topic (7)
- # om (57)
- # onyx (58)
- # proton (10)
- # re-frame (9)
- # reagent (38)
- # remote-jobs (2)
- # rum (12)
- # untangled (136)
:dangerouslySetInnerHTML is what I used on http://hiccup.space
For excluding react from reagent I am getting ERROR - required "cljsjs.react" namespace never provided
even though I added the echo "(ns cljsjs.react)" > src/cljsjs/react.cljs
@escherize: I missed this hiccup tool, and I like a lot. Thank you for sharing š.
Sure thing - it's successor is http://cljsfiddle.com
correct me if Iām wrong though, but ideally what weād want was md->hiccup right?
like the cljs version of this https://github.com/yogthos/json-html
@bostonaholic: This will help a bit ... already has externs etc for Chart.js here http://cljsjs.github.io/
Hey! I was about to start a small demo project using Reagent+Posh, but then I started thinking: what exactly is the difference between that setup and just using Om Next? I feel like if I wire Reagent+DataScript together, am I not just recreating Om Next?
I'm mainly concerned that I'll just end up running into problems that Om Next has already solved
also, I know I can use DataScript with Om Next too. When I'm talking about "Reagent+Posh vs Om Next", I'm mainly comparing the idea of using colocated data queries in components
@hjrnunes json-html already supports cljs and has json->hiccup
for working with Reagent
@yogthos: yep, I use it already. Thanks btw! So, I was thinking of something like that but for markdown. I glanced over markdown-clj source but couldnāt immediately figure out a good way of doing that. I suppose MD would have to be parsed into some data structure intermediate representation and then from that to HTML.
@escherize: true, I use it to debug my app state mostly
@hjrnunes: not a great solution but you can use one of the javascript markdown libraries for that
I am having trouble getting reagent to respect an {⦠:enctype āmultipart/form-dataā} attribute on a form
any tips?
@jeremyraines: try :enc-type
instead, that worked for me
thanks!
This may be useful: https://facebook.github.io/react/docs/tags-and-attributes.html#html-attributes where stuff like encType --> enc-type in reagent