How to use react-query with wordpress rest api? #2317
Unanswered
rajkinkhabwala
asked this question in
Q&A
Replies: 1 comment 4 replies
-
looks like you want dependent queries? have a look here: |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I want to use react-query in react native and I want to fetch posts from WordPress. Actually, the posts are getting fetched easily using the rest endpoint of any WordPress blog. But the main issue is that while fetching those posts I also want to fetch the WordPress featured image and the author name and for that I have to again do a request to the server for fetching the data. But I dont know how I can proceed for this requirement for mine.
Beta Was this translation helpful? Give feedback.
All reactions