github vanjs-org/van 0.12.0
0.12.0: Polymorphic binding, SVG/AutoML support, readonly properties, performance optimizations, etc.

latest releases: 1.6.0, 1.5.5, 1.5.3...
2 years ago
  • Polymorphic binding: State-derived properties and van.bind supports non-state dependencies, allowing reusable component to accept both state and non-state properties: see https://vanjs.org/tutorial#polymorphism-between-state-and-non-state-dependencies.
  • SVG/MathML support: Add a new function van.tagsNS, which allows us to create SVG, MathML or other HTML elements with namespaceURI.
  • Support readonly properties while creating HTML elements: You can specify readonly properties while creating HTML elements with tag functions. For readonly properties, values will be set by setAttribute.
  • Performance optimizations: Replace forEach call with for ... of loops for better performance. Also disable the terser optimization for wrap_func_args as the optimization is obsolete in newer browser versions.

See the release announcement: #53

Don't miss a new van release

NewReleases is sending notifications on new releases.