Skip to content

v0.3.0

Compare
Choose a tag to compare
@github-actions github-actions released this 05 Jan 20:17
· 91 commits to master since this release

0.3.0 (2025-01-05)

Features

  • add a convenience alias export <It> for <Iterate> (#19) (679cb23)
  • add an exposed MaybeAsyncIterable helper generic type (#25) (dd06927)
  • make useAsyncIterState iterable's type more accurate (#23) (bd75364)

Bug Fixes

  • <Iterate> render function parameter typing not inferring correctly in conjunction with initialValue with plain values semantics (#24) (fe45bbb)
  • make iterators of the useAsyncIterState hook's iterable individually closable to prevent leaving around unsettled promises (#22) (25e1ab5)
  • yielding consecutive identical values causes unnecessary re-renders for useAsyncIter and <Iterate> in misalignment with React.useState (#21) (2a35f72)

Refactor

  • fix import path of iterateFormatted on package's public export (#17) (f3481e6)
  • various misc refactorings (#26) (20af9b0)

Tests

  • add tests for rapid yielding iterables value batching for useAsyncIter and <Iterate> (#20) (ebcbfd4)