ratty-blush
ratty-blush17mo ago

Does every resource need a list?

Let's say I have a blog project similar to https://github.com/refinedev/refine/tree/next/examples/blog-material-ui Let's say I want to add a sidebar option like "settings" and in that option, open up a BlogSettings form where I can edit the name of the blog. Is there a sample showing something like this? I can't seem to make the sidebar or the rest provider to fetch data unless I add a list to each resource, what about resources where you only have one object? Thanks
GitHub
refine/examples/blog-material-ui at next · refinedev/refine
Build your React-based CRUD applications, without constraints. - refine/examples/blog-material-ui at next · refinedev/refine
4 Replies
kapa.ai
kapa.ai17mo ago
Hi @adsfapjjjjj32. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave:
kapa.ai
kapa.ai17mo ago
---------------------- Hmm, I don't know enough to give you a confident answer yet. However, you can refer to the refine documentation and examples for more information and guidance: - Refine Documentation (https://refine.dev/docs) - Refine Examples (https://refine.dev/docs/examples) These resources might help you find a solution for your specific use case. ---------------------- Note: you can ask me a follow up question by @ mentioning me again :speech_balloon: ----------------------
Overview | refine
What is refine?
kapa.ai
kapa.ai17mo ago
<@1022686373775417365> kapa.ai is still learning and improving, please let us how it did by reacting below
quickest-silver
quickest-silver17mo ago
useTable, useList like data hooks uses resource name to automatically fetch data and also resources automatically appears in the sidebar. if you will not use this hooks, list is like a another normal page. You can use useCustomMutation and useCustom to get and update settings