Just some brainstorming:
1. What about using JSON? E.g. having the Attrs like "Attrs(%* { "className":
"row", "key": "search" })". Or even `type Attr = distinct JsonNode` (or
similar).
2. I feel like using my solution together with a macro to construct the
Object should be working.BTW: I am more a fan of [VueJS](http://forum.nim-lang.org///vuejs.org/) though... which is an underdog and pretty cool... a bit like Nim :)
