Fork me on GitHub
#reagent
<
2017-12-22
>
alex-dixon05:12:30

That may be shadow-cljs or clj or something else. Still looking for feedback on this. Shadow-cljs can be installed from npm and seems the most js friendly build tool

venantius18:12:53

Is there a way for me to pass a vector of vectors to a function within a component? Right now Hiccup gets angry because it’s not a valid hiccup form

venantius18:12:08

specifically what I’d like to do is to pass a vector of vectors to a function that can then render that into a table component

venantius18:12:03

e.g. (render-table-contents [["Company A", "Boston, MA"]["Company B", "San Francisco, CA"]])

noisesmith18:12:38

if hiccup complains it means your vector is being used directly somewhere

noisesmith18:12:12

some other function should be getting that vector of vectors and constructing something hiccup can use right?

venantius18:12:26

got it! Thanks 🙂