Skip to content

chore: version packages - #570

Open
github-actions[bot] wants to merge 1 commit into
mainfrom
changeset-release/main
Open

github-actions[bot] wants to merge 1 commit into
mainfrom
changeset-release/main

Conversation

@github-actions

@github-actions github-actions Bot commented Oct 19, 2026 •

Copy link
Copy Markdown
Contributor

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

react-simplikit@0.4.0

Minor Changes

  • #571 a62e7d6 Thanks @hyesungoh! - The emitted declarations of usePreservedCallback, useDebounce, useThrottle and useCallbackOncePerRender now name their callback parameter type CallerTypedArgs instead of any[]. It is the same type, so they accept the same callbacks. useThrottle also constrains the callback's return type to unknown instead of any, which accepts the same callbacks.

    The throttled function returned by useThrottle now accepts the callback's parameters instead of any[], so calling it with arguments the callback does not take is a type error. The return types of useThrottle and useDebounce are now written out in their declarations, so a consumer that emits declarations can export their result without a TS2742 error.

Patch Changes

  • #572 cf0dd83 Thanks @GamjaIsMine02! - Document that useOutsideClickEffect accepts null entries in container arrays, matching its existing type and behavior.

  • #569 8ead31d Thanks @GamjaIsMine02! - Mark useImpressionRef's rootMargin option as optional in the JSDoc and documentation, matching its existing type.

  • #575 5a21c39 Thanks @GamjaIsMine02! - Allow readonly arrays as the initial state and setAll input of useList.

  • #567 d8e8147 Thanks @rjsgud49! - useScrollDirection no longer stops tracking scroll when throttleMs changes, or the component's effects re-run, while a throttle window is still open. The cleanup cleared the pending timer but left its id in the ref, so the next listener treated every scroll as throttled.

@github-actions
github-actions Bot force-pushed the changeset-release/main branch 3 times, most recently from 7232c60 to 04dc789 Compare October 23, 2026 01:50
@github-actions
github-actions Bot force-pushed the changeset-release/main branch from 04dc789 to b3268c6 Compare October 23, 2026 02:51

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants