Breaking changes
This version contains major performance improvements, particularly for rendering of pages with thousands/millions of elements. The changes in this release should allow a stable v1.0 to soon follow.
Reworked internals to avoid all copies where possible/desired:
- Added internal
mutable
structure to allowstd::move
out ofinitialiser_list
. - While the shape of the interface has not changed, the move/copy behaviour has, and thus implementations that are dependent on webxx's current copying behaviour, and not
move
-ing any supplied values, may cause breakages. See docs.
Compute component IDs at compile time:
- The component ID hashed that enable scoped CSS are now created via
constexpr
. - While something of an internal implementation detail, the generated hash values differ from previous implementations as a result.
New features
-
Added
loop
utility function: The second parameter of the callback is supplied with aLoop
object containing information such as index and total count. See docs. -
Added 'head elements' to components: Components can now be constructed with a third parameter containing elements that will be collected into the new
headTarget
element. This is useful for preloading component assets. See docs.
Full Changelog: v0.8.1...v0.9.2