This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-10-13
Channels
- # 100-days-of-code (2)
- # announcements (1)
- # beginners (41)
- # boot (1)
- # calva (3)
- # cider (25)
- # cljdoc (20)
- # cljs-dev (24)
- # clojure (16)
- # clojure-conj (1)
- # clojure-dev (9)
- # clojure-germany (1)
- # clojure-italy (4)
- # clojure-uk (8)
- # clojurescript (25)
- # community-development (14)
- # cursive (4)
- # datascript (2)
- # datomic (20)
- # duct (16)
- # emacs (12)
- # fulcro (168)
- # graphql (1)
- # keechma (3)
- # leiningen (1)
- # luminus (5)
- # off-topic (13)
- # re-frame (8)
- # reagent (3)
- # rum (1)
- # shadow-cljs (24)
- # spacemacs (32)
- # unrepl (2)
- # vim (2)
@nolan if you redefined Point
(even just hot-loaded the file it is defined in) without reconstructing that map it'll use the old version and thus fail to convert
@thheller that is definitely whats happening, but hadnt run into that in similar contexts before—caused a few hours of pain while working on that file, but alls well that ends well. thanks for the input as always!
is it possible to dynamically update meta tags on my SPA? specifically, social websites meta tags like facebook, twitter etc..
@bravilogy technically possible yes but most crawlers that look for that stuff will not execute Javascript so they won't find them
Is there a very fundamental reason why cljs core.logic is missing a lot of the features of the clj one or people just didn't bother?
its a miracle core.logic even exists for cljs 😄
What is the best way to show edn
data in web browser in user friendly way? format with new lines, spaces, hightlight etc.
I used pprint
, but that was for an admin so, so the size didn't matter much to me. It does make the resulting JS swell up quite a bit.
@kwladyka some pointers: https://github.com/Odinodin/data-frisk-reagent, https://github.com/yogthos/json-html, https://github.com/mac-s-g/react-json-view
thank, but any of them show edn format as it is. All of them add extra data, but I want to show it exactly as raw edn for ClojureScript developers to show how library works under the hood.
clojure.pprint/pprint ?
@pesterhazy pprint doesn’t print atoms pretty 😕 It prints it as a one long line. Doesn’t care about cljs.pprint/print-right-margin. I have to find something else. Any hints?
@kwladyka you could provide a printer for atoms which does respect it. By having it delegate to the underlying type's data.
seems like zprint does what you want https://github.com/kkinnear/zprint#agent-atom-delay-fn-future-promise
-> https://porkostomus.gitlab.io/posts-output/2018-09-19-day-5/ search for "Override atom printer"