Skip to content

1.4.0: API simplification (less is more)

Compare
Choose a tag to compare
@Tao-VanJS Tao-VanJS released this 08 Mar 16:58
· 76 commits to main since this release

Simplify VanJS API by deprecating 4 rarely used functions:

  • van.tagsNS is merged into van.tags
  • van._ can be replaced by van.derive
  • van.val and van.oldVal are deprecated and can be replaced by client-side solution like: https://vanjs.org/tutorial#polymorphic-binding
  • Support van.state() in TypeScript to create dummy or uninitialized State objects

See the release announcement: #280