cherry 2024-09-12

This works: #html [:span {:class "test"} title], but dynamic code like just having {:class "test"} in a variable doesn't. I have some code that merges attributes and it doesn't work. Is it expected to work?

I saw documentation for that hiccup somewhere in the squint repo but cannot find it now.

lemme check, I think I have some tests for this

so if you just want to pass the map, write {:& the-map}

👍 1

I have seen these things described somewhere, I thought it was the README, but it's not there now.

Confirmed, it works!

Ah that's where I saw the props, right.

OK, all works now 🙂 Thank you 🙏

I'll await your blog post about cherry ;)

I will publish the sources I have once I'll be less ashamed of it haha. It documents the process and it is a real-world example of a simple personal site made with Cherry and WebComponents. It's a small thing, but I think real world examples are really important.

❤️ 1