Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Memoize functions returned by hooks #722

Merged
merged 5 commits into from
Feb 28, 2025
Merged

Conversation

mboynes
Copy link
Contributor

@mboynes mboynes commented Feb 21, 2025

  • Memoize meta hook functions
  • Memoize useOption callback functions
  • Memoize useTerms callback

Resolves #717

@mboynes mboynes requested a review from a team as a code owner February 21, 2025 19:54
Copy link

changeset-bot bot commented Feb 21, 2025

🦋 Changeset detected

Latest commit: 0022bb9

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@alleyinteractive/block-editor-tools Patch

Not sure what this means? Click here to learn what changesets are.

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

Copy link
Contributor

@mogmarsh mogmarsh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks for doing this 👍

@mboynes mboynes merged commit baa0115 into main Feb 28, 2025
6 checks passed
@mboynes mboynes deleted the hotfix/memoize-hook-functions branch February 28, 2025 16:13
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.

usePostMeta and usePostMetaValue are not stable between renders
2 participants