Hi, just started using Specter and so far it's been amazing. Replaced my naive handwritten code in less lines and it was faster!
One issue I'm having though relates to CLJS not supporting apply
with more than 21 args for IFn
here: https://github.com/clojure/clojurescript/blob/master/src/main/cljs/cljs/core.cljs#L2054 and defdynamicnav
via multi-path
whose var has meta (though I suspect the IFn
limitation would be hit without MetaFn
anyway).
So this is maybe an abuse of multi-path
but I would like to dynamically create a collection of paths that may be bigger than the 21 count limit. Before I manually chunk the paths and apply them in stages I was wondering if anyone had noticed this before and had a simple workaround. Or maybe chunking the paths is the simple workaround...
Actually I can just reduce over the paths as that is what would happen with (apply multi-path...
anyway!