v0.4.0
This release was focused on performance and in some workloads performance can be increased 150-200%!
The major performance improvement comes from handling non reactive state separately from reactive state. We don't need to follow all the reactive code paths with high overhead for some static content. Unfortunately, the bundle size is higher, but well worth it.
Breaking changes:
- the
children
prop is required to be a fixed javascript array. It can no longer be a generic mountable object. This is to allow the newly introduced performance optimizations to walk the tree statically.
Features:
- Introduced new
staticMount
babel transpiler pass that will examine the dom for any static values and will pull those out as vanilla js to reduce overhead introduced by destam-dom. - dom.js has everything it needs for hydration/ssr to be implemented.