Skip to content

Unable to define placeholderData on a query key. #85

Open
@dvsweeney9

Description

@dvsweeney9

The fix added here: 9b5401c
locked down the valid factory keys to 'queryKey' | 'queryFn' | 'contextQueries' however this removes the ability to utilize placeholderData as specified here: https://tanstack.com/query/latest/docs/framework/react/guides/placeholder-query-data

This is something my company uses in a few places.
Is it possible to either revert the change or improve it to include all available factory keys?

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions