Clojurians
#cljs-dev
<
2017-11-13
>

This page is not created by, affiliated with, or supported by Slack Technologies, Inc.

thheller07:11:58

@thosmos usually only pre-processed stuff is published on npm. I looked over the nivo package and they are already processed and do not require jsx

thheller07:11:16

they do publish commonjs and es6. maybe try (:require ["nivo/es/components/..."]) or "nivo/lib/components/..."

thheller07:11:46

lib is the commonjs, es is ES6. both are already plain JS (no jsx)

dpsutton21:11:19

i asked this on the weekend but perhaps now would be a better time with more eyes on it. I was hoping that uuid might be made to be idempotent. Right now it asserts that its argument is a string so that (uuid (uuid "whatever")) will necessarily throw an exception. I'm combining some datomic maps together with resource ids on them and it would be nice if I could just run update the keys with uuid regardless of whether they are uuid or string already

dnolen21:11:26

@dpsutton that seems like useful behavior, make an minor enhancement ticket + patch please

dnolen21:11:41

test case too of course

dpsutton21:11:43

just making sure it didn't set off your spidey sense

dnolen21:11:52

I don’t really have any issues with it