github vanjs-org/van 0.12.1
0.12.1: Support `null` and `undefined` valued child nodes in tag functions and `van.add`

latest releases: 1.5.5, 1.5.3, 1.5.2...
2 years ago

0.12.1 is a minor release of VanJS.

In this release, we support null and undefined as the child node of tag functions and van.add. null or undefined valued children will be simply ignored in tag functions and van.tag. This feature is added as a result of feedback from multiple VanJS users as they mentioned the feature can make the user-side code easier in certain circumstances. This feature also makes VanJS's behavior consistent between static child node and child node with state bindings (where null or undefined means the removal of the node).

See the release announcement: #53 (comment)

Don't miss a new van release

NewReleases is sending notifications on new releases.