Skip to content

65 Improved TanStack Query Integration and Error Handling#76

Merged
mrbalov merged 19 commits intomainfrom
feat/65-tanstack-query-3
Feb 24, 2026
Merged

65 Improved TanStack Query Integration and Error Handling#76
mrbalov merged 19 commits intomainfrom
feat/65-tanstack-query-3

Conversation

@mrbalov
Copy link
Collaborator

@mrbalov mrbalov commented Feb 24, 2026

Changelog

[5.4.1] - 2026-02-24

65 Improved TanStack Query Integration and Error Handling

Changed

  • Refactored all custom TanStack Query hooks to use native useQuery hook with built-in state management
  • Updated component props from isLoaded boolean to isError boolean for clearer semantic meaning and better error handling
  • Simplified API response types by removing intermediate ResponseImage interface and accessing data directly
  • Improved query key generation to include API endpoint paths for better cache invalidation
  • Enhanced error state handling across Image, Prompt, and Signals components

Fixed

  • Fixed typo in ExpandableCard component: "Someting" → "Something"
  • Corrected getStatus logic to properly handle content display when data is available but no error occurred

Removed

  • Custom loading/loaded state management in favor of TanStack Query's built-in isLoading, isError states
  • Redundant ResponseImage type interface, now using direct string return type for image data

mrbalov and others added 18 commits February 17, 2026 17:01
Remove the incorrect changelog entries that were added in the previous commit.
The changes described were not accurate and need to be rewritten properly.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@netlify
Copy link

netlify bot commented Feb 24, 2026

Deploy Preview for torqapi canceled.

Name Link
🔨 Latest commit 13608ce
🔍 Latest deploy log https://app.netlify.com/projects/torqapi/deploys/699d8d0a0dd2050008d1361c

@netlify
Copy link

netlify bot commented Feb 24, 2026

Deploy Preview for torqui ready!

Name Link
🔨 Latest commit 13608ce
🔍 Latest deploy log https://app.netlify.com/projects/torqui/deploys/699d8d0a5833a20008d417c4
😎 Deploy Preview https://deploy-preview-76--torqui.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@mrbalov mrbalov merged commit 7c6b350 into main Feb 24, 2026
13 checks passed
@mrbalov mrbalov deleted the feat/65-tanstack-query-3 branch February 24, 2026 11:36
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.

1 participant