This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-10-01
Channels
- # beginners (15)
- # boot (3)
- # cider (10)
- # clara (2)
- # cljs-dev (19)
- # clojure (31)
- # clojure-uk (9)
- # clojurescript (60)
- # core-async (1)
- # datomic (10)
- # docs (4)
- # fulcro (5)
- # hoplon (33)
- # juxt (1)
- # luminus (1)
- # off-topic (3)
- # om (20)
- # parinfer (2)
- # portkey (61)
- # re-frame (6)
- # reagent (39)
- # shadow-cljs (18)
- # spacemacs (4)
- # specter (8)
I just found myself writing a helper function, (defn match-path [p] (if-path p STAY)) - is there a more idiomatic way to do that, or is that sensible (TM)?
@michaelwfogleman that's selected?
also, that would be a very unperformant way to implement selected?
, since it would force recompilation of that subpath every single time the callsite is invoked
(defdynamicnav match-path [p] (if-path p STAY))
fixes it
Got it, thanks! I don't think we've documented defdynamicnav and defrichnav, anything I'm missing? I'll try to make a PR at some point
Then again that may be above my pay grade... 🙂
Ah it's in the inline caching implementation doc - had not read that
yea, that would be a good one to document