Skip to content

Conversation

@piecyk
Copy link
Collaborator

@piecyk piecyk commented Dec 7, 2025

🎯 Changes

Adds optional skipInitialOnChange flag to memo utility to prevent onChange
from firing on the first memoization, only on actual dependency changes.

βœ… Checklist

  • I have followed the steps in the Contributing guide.
  • I have tested this code locally with pnpm run test:pr.

πŸš€ Release Impact

  • This change affects published code, and I have generated a changeset.
  • This change is docs/CI/dev-only (no release).

@changeset-bot
Copy link

changeset-bot bot commented Dec 7, 2025

⚠️ No Changeset found

Latest commit: c1f24fc

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@nx-cloud
Copy link

nx-cloud bot commented Dec 7, 2025

View your CI Pipeline Execution β†— for commit c1f24fc

Command Status Duration Result
nx affected --targets=test:sherif,test:knip,tes... βœ… Succeeded 2m 4s View β†—
nx run-many --target=build --exclude=examples/** βœ… Succeeded 16s View β†—

☁️ Nx Cloud last updated this comment at 2025-12-07 16:57:25 UTC

@pkg-pr-new
Copy link

pkg-pr-new bot commented Dec 7, 2025

More templates

@tanstack/angular-virtual

npm i https://pkg.pr.new/@tanstack/angular-virtual@1088

@tanstack/lit-virtual

npm i https://pkg.pr.new/@tanstack/lit-virtual@1088

@tanstack/react-virtual

npm i https://pkg.pr.new/@tanstack/react-virtual@1088

@tanstack/solid-virtual

npm i https://pkg.pr.new/@tanstack/solid-virtual@1088

@tanstack/svelte-virtual

npm i https://pkg.pr.new/@tanstack/svelte-virtual@1088

@tanstack/virtual-core

npm i https://pkg.pr.new/@tanstack/virtual-core@1088

@tanstack/vue-virtual

npm i https://pkg.pr.new/@tanstack/vue-virtual@1088

commit: c1f24fc

@piecyk piecyk merged commit e06e32d into TanStack:main Dec 7, 2025
5 checks passed
@piecyk piecyk deleted the feat/memo-skip-initial-onchange branch December 7, 2025 16:57
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.

1 participant