github lit/lit @lit-labs/observers@1.1.0

latest releases: @lit/react@1.0.5, @lit-labs/ssr-react@0.3.0, @lit-labs/nextjs@0.2.0...
19 months ago

Minor Changes

  • #3294 96c05f25 - Fix value property of type unknown on exported controllers. The type of
    value is now generic and can be inferred from the return type of your passed
    in callback. The default callback () => true was removed, and is now
    undefined by default.

  • #3323 0f787b29 - Add unobserve method to ResizeController and IntersectionController.

Patch Changes

  • #3293 7e22bc2e - Fix controllers not observing changes to target element if initialized after the host has connected.

  • #3321 e90e8fe9 - Controllers now track all observed targets and will restore observing targets
    when host is reconnected.

Don't miss a new lit release

NewReleases is sending notifications on new releases.