Skip to content

improved tanstack example.tsx #2414

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

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

Conversation

souraOP
Copy link

@souraOP souraOP commented Mar 5, 2025

  • Added a try catch block for handling error during fetch and matchStream operations to handle potential network errors.
  • In the createItem function, I have simplified the Promise.all usage by directly awaiting the promises.
  • I have simplified the itemsMap logic by using a set to avoid the duplicates..

@souraOP
Copy link
Author

souraOP commented Mar 10, 2025

@KyleAMathews @robacourt can you review this

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