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(core): handle parameters in custom instance returning useCallback #1830

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dawsonbooth
Copy link
Contributor

@dawsonbooth dawsonbooth commented Jan 17, 2025

Status

READY

Description

This PR fixes an issue in the code generation process where a custom instance hook returning a function wrapped in useCallback loses its second parameter.

@melloware melloware requested a review from anymaniax January 17, 2025 23:15
@melloware melloware added the tanstack-query TanStack Query related issue label Jan 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tanstack-query TanStack Query related issue
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants