Fork me on GitHub
#clojurescript
<
2018-10-13
>
thheller08:10:44

@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

wizard 4
thheller08:10:45

(or your data constains old instances)

Nolan12:10:44

@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!

Bravi12:10:12

is it possible to dynamically update meta tags on my SPA? specifically, social websites meta tags like facebook, twitter etc..

thheller13:10:11

@bravilogy technically possible yes but most crawlers that look for that stuff will not execute Javascript so they won't find them

billyr15:10:02

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?

deliciousowl15:10:15

its a miracle core.logic even exists for cljs 😄

kwladyka16:10:23

What is the best way to show edn data in web browser in user friendly way? format with new lines, spaces, hightlight etc.

kwladyka16:10:40

I don’t want to show this mess 🙂

henrik17:10:16

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.

kwladyka16:10:30

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.

kwladyka16:10:39

Visualise data under the hood as a demo of library

kwladyka16:10:43

Mainly to make developers creative about potential of how they can use library

pesterhazy16:10:59

clojure.pprint/pprint ?

kwladyka16:10:30

hmm can be good with highlight extension, thx

kwladyka20:10:57

@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?

dominicm20:10:15

@kwladyka you could provide a printer for atoms which does respect it. By having it delegate to the underlying type's data.

kwladyka20:10:57

Any examples how to do it?

kwladyka20:10:18

thank you, huge doc, I will look on it tomorrow 🙂

darwin20:10:58

ah sorry, scratch that ^, it is not relevant for cljs.pprint lib, it is used when doing normal printing