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

fix(react-query): no ref in useHookResult() #5433

Merged
merged 1 commit into from Feb 3, 2024

Conversation

KATT
Copy link
Member

@KATT KATT commented Feb 3, 2024

Might close #5429

🎯 Changes

Skip using useRef, use useMemo() instead

Not sure how "Cannot assign to read-only property 'path'" can happen, but this should make it impossible since it'll return a new obj every time instead

@KATT KATT requested a review from a team as a code owner February 3, 2024 11:41
Copy link

vercel bot commented Feb 3, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
next-prisma-starter ✅ Ready (Inspect) Visit Preview Feb 3, 2024 11:45am
og-image ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 3, 2024 11:45am
trpc-next-app-dir ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 3, 2024 11:45am
www ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 3, 2024 11:45am

Copy link

github-actions bot commented Feb 4, 2024

This pull request has been locked because we are very unlikely to see comments on closed issues. If you think, this PR is still necessary, create a new one with the same branch. Thank you.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 4, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants