github snabbdom/snabbdom v3.0.0
Release 3.0.0

latest releases: v3.6.2, v3.6.1, v3.6.0...
3 years ago

3.0.0 (2021-03-28)

Bug Fixes

Features

  • add JSX namespace to jsx factory (5d5fc5a)
  • allow symbols as keys (#954) (ad80c6e), closes #124
  • export everything from 'snabbdom' (7af7e3f), closes #913 #748
  • mark the snabbdom package as side effect free (8524013)
  • offer esm and commonjs bundles (ebf6915)

BREAKING CHANGES

  • Snabbdom does not export the hero module any more. If you require this
    module, copy the code from examples/hero/hero.js and add it to your
    project
  • The imports of snabbdom functions have changed. Every file in the
    project had to be imported on its own, e.g.
import { h } from 'snabbdom/h'
import { VNode } from 'snabbdom/vnode'

Now, the main snabbdom package exports all of the public API like

import { h, VNode } from 'snabbdom'

This means consumers of the snabbdom package need to update their
imports. The change makes the use of the exports field in
package.json unnecessary, which caused issues for TypeScript users

Don't miss a new snabbdom release

NewReleases is sending notifications on new releases.