- 
                Notifications
    You must be signed in to change notification settings 
- Fork 1.4k
Closed
Labels
stage/5-alpha-release-testingThe pull request is merged, an alpha release is available, to be testedThe pull request is merged, an alpha release is available, to be tested
Description
Describe the bug
React Query is requiring queryKeys and mutationKeys to always be an array.  see:
TanStack/query#2919
To Reproduce
Use with React Query v4 (currently alpha) will throw type errors.
Expected behavior
Use an array for the keys instead of a string.  i.e. ['mystring'] instead of 'mystring'
Environment:
any
Additional context
v4 is currently in pre-release and will become more pressing once released.  This is a backwards-compatible upgrade... arrays have always been an acceptable key.
dotansimha
Metadata
Metadata
Assignees
Labels
stage/5-alpha-release-testingThe pull request is merged, an alpha release is available, to be testedThe pull request is merged, an alpha release is available, to be tested