Skip to content

1.6.2: Fix a memory leak in property bindings

Latest

Choose a tag to compare

@Tao-VanJS Tao-VanJS released this 01 Nov 04:08
· 11 commits to main since this release

This release fixes a memory leak in property bindings. Property computations and debug validators are now tied to their DOM elements, so their state subscriptions can be cleaned up when the elements are removed.

The TypeScript return type of van.hydrate is also corrected from a DOM node to void; its runtime behavior is unchanged.

See the release announcement.