I’m having some trouble calling js functions attached to react refs.
(.setExpandedKeys @!tree-ref (js->clj (.. % -value))
(where tree-ref is set via
[:> Tree {:ref #(reset! !tree-ref %)}]What I get is: Cannot infer target type in expression
Is that just a warning? Then you may just add a ^js type hint to it
Aha, I’ll try that