lambdaisland / ornament

Clojure Styled Components
Mozilla Public License 2.0
118 stars 13 forks source link

Attrs through fragments #13

Closed plexus closed 2 years ago

plexus commented 2 years ago

Implement setting attributes through fragment syntax

See the corresponding notebook for full explanation and examples.

This also means we now expand :<> ourselves (when used directly inside a component), so you can now tap into this even if your Hiccup implementation is not aware how to deal with this.

Added a notebook that explains things in details.

Still needs

plexus commented 2 years ago

FINALLY wrapped this up. @oxalorg you want to give this a once-over?

plexus commented 2 years ago

@oxalorg I'm all ready with this but seems this needs a rebase.