What is the idiomatic way to use `useList()` with REST API that returns a JSON array of strings?
Strings are not
BaseRecord
s. Should I hack dataprovider or is there a better way?3 Replies
Hi @kikap_. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave:
----------------------
Hmm, I don't know enough to give you a confident answer yet. However, you can refer to the Refine Data Provider documentation (https://refine.dev/docs/api-reference/core/providers/data-provider/) for more information on working with data providers in refine.
----------------------
Note: you can ask me a follow up question by @ mentioning me again
:speech_balloon:
----------------------Data Provider | refine
Data provider acts as a data layer for your app, making HTTP requests and encapsulating how the data is retrieved. The methods of these requests are then consumed by refine via data hooks.
<@399396499609354242> kapa.ai is still learning and improving, please let us how it did by reacting below