I agree that using data as templete is great. This is a typical example of "The value of value"(Rich Hickey's speech).
And I think client side have a bit different requirement compared to server side.
At client side, I often need to manipulate specific element instead of root element which crate and dommy return.
So I forked crate in order to get a collection of created elements as a hashmap.
https://github.com/hozumi/crate-bind
This is useful. I will create dommy version of this.
And I think client side have a bit different requirement compared to server side. At client side, I often need to manipulate specific element instead of root element which crate and dommy return. So I forked crate in order to get a collection of created elements as a hashmap. https://github.com/hozumi/crate-bind This is useful. I will create dommy version of this.