[Astro] createResource
results get mixed up when rendering server only components with Suspense
#2131
Labels
bug
Something isn't working
Describe the bug
resource.data()
is returning data from another resource, in another componentYour Example Website or App
https://stackblitz.com/edit/github-pqy8j7-y8z78u?file=src%2Fcomponents%2FPage.tsx
Steps to Reproduce the Bug or Issue
pageQuery
resolves to'pageQuery API response'
in it's fetcher function, but when you checkpageQuery.data()
, it contains"Component A API response"
Expected behavior
This text is displayed
Screenshots or Videos
No response
Platform
Windows, Chrome 123
Additional context
@birkskyum:
The text was updated successfully, but these errors were encountered: