Fork me on GitHub
#cljs-dev
<
2023-10-11
>
quoll02:10:32

Why do I love ClojureScript? Because when Google makes your life hard, https://github.com/quoll/michelangelo/blob/main/src/michelangelo/uri.cljs 🙂

👍 1
quoll12:10:12

My comment, and the reason I didn’t send to #clojurescript instead, is due to goog.Uri https://github.com/google/closure-library/issues/1209 (preserving empty elements, like fragments). Also, I was shocked to discover that we can’t compare URIs in ClojureScript, and the hash codes are based on the object IDs, so the same URI created twice is seen as completely different.