Fork me on GitHub

Hello friends, while working on implementing atoms for Clojuredart I’ve noticed 2 differences between the clj/cljs version. - 1/ the atom function does not check if meta is a “valid” meta (meaning implements IPersistentMap. So in cljs, (atom 1 :meta 2) works - 2/ the validator function is called at creation in clj (with the passed state) but not in cljs If you feel it would be nice to correct it I would be happy to submit a patch. Thanks a lot

👍 13
😱 2