Repository navigation
v2.8.0
@jbpark/use-hooks v2.8.0
This release brings two minor enhancements to the library.
Added
- The
useControllableStatehook has been added to support both controlled and uncontrolled component state patterns seamlessly. - A
targetRefoption has been added to theuseWindowScrollhook, 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