2.0.0-beta.3.1
Performance improvements
Changed to using reduce(into: )
in more places, like when escaping variables for HTML. This cut the render time of 10 000 test templates almost in half. From 1.29 seconds to 0.82 seconds.
Added a new modifier
Div {
"May be modify"
}
.modify(unwrap: someOptional) { value, node in
// This will only be added if the value is defined
node.class(value)
}
Other bug-fixes
Some improvements when using modify(if: )