Skip to content

v2.8.0

Choose a tag to compare

@github-actions github-actions released this 05 Aug 06:03
· 248 commits to main since this release
3e08091

@jbpark/use-hooks v2.8.0

This release brings two minor enhancements to the library.

Added

  • The useControllableState hook has been added to support both controlled and uncontrolled component state patterns seamlessly.
  • A targetRef option has been added to the useWindowScroll hook, allowing tracking of scroll position within an iframe or other nested window.

What's Changed

  • 🔧 chore: switch changeset draft from GitHub Models to Gemini by @pjb0811 in #73
  • ✨ feat: add useControllableState hook by @pjb0811 in #74
  • chore: switch release-note polishing to NVIDIA API by @pjb0811 in #77
  • ✨ feat: accept optional target ref in useWindowScroll by @pjb0811 in #76
  • 🔖 chore: version packages by @github-actions[bot] in #75

Full Changelog: v2.7.0...v2.8.0