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

✅ Add fetch retry logic to helper module #12

Closed
wants to merge 1 commit into from

Conversation

YeiserBytes
Copy link

Added the fetchWithRetry function for use in the project. This function enables network requests with retry capabilities in case of failures, enhancing the robustness and reliability of network operations within the project. #10

Preview

Screen.Recording.2024-05-21.at.9.02.53.AM.mov

Copy link

netlify bot commented May 21, 2024

👷 Deploy request for sticky-thoughts pending review.

Visit the deploys page to approve it

Name Link
🔨 Latest commit 3505770

@alexndrho
Copy link
Owner

alexndrho commented May 21, 2024

Hi, I appreciate your effort to contribute to the code. However, fetching with retry can be achieved using the Tanstack plugin that's already installed to the project, and can be implemented with Query Retries in the TanStack Query React Docs.

The problem I'm encountering is trying to implement a UI with refetch option when fetching fails. I apologize for any confusion and will update the issue message accordingly.

@alexndrho alexndrho closed this May 21, 2024
@YeiserBytes
Copy link
Author

Ok, no problem thanks for reading my pr

@YeiserBytes YeiserBytes deleted the develop branch May 21, 2024 20:37
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.

2 participants