Skip to content

@angular-kit/stream 2.0.0

Compare
Choose a tag to compare
@michaelbe812 michaelbe812 released this 18 Apr 03:40
· 274 commits to main since this release

Bug Fixes

  • stream: correct typing issue when detecting DebounceRenderStrategy (20c0a4e)
  • stream: when element is off the viewport CD should only be triggered if element is visible and value has changed (4249cb6), closes #40

Features

  • stream: check if intersection observer API is supported if ViewPortStrategy is active; fallback do DefaultStrategy (00296bb)
  • stream: enhance configuration token by keepValueOnLoading, lazyViewCreation and renderStrategy option (9512124), closes #33
  • stream: implement ViewPortRenderStrategy to only run change detection when element is visible in the viewport (95cec91)
    • stream: implement DefaultRenderStrategy, ThrottleRenderStrategy and DebounceRenderStrategy
  • stream: introduce concept of render strategies (d413113)