-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
-
Hi!
I have a simple GET /config endpoint I want to consume and display. I cannot find the right hook to use for this, though.
useList is for getting multiple values.
useOne is for getting one specific value of many values.
Is there nothing for just getting a resource?
Beta Was this translation helpful? Give feedback.
All reactions
Hello @thraizz you can use useOne hook and pass empty string to id field id: "".
Replies: 1 comment 2 replies
-
Hello @thraizz you can use useOne hook and pass empty string to id field id: "".
Beta Was this translation helpful? Give feedback.
All reactions
-
I see! I tried null or undefined before lol 😅
Beta Was this translation helpful? Give feedback.
All reactions
-
❤️ 1
-
We want to change that in the future. It's confusing 😅
Beta Was this translation helpful? Give feedback.
All reactions
-
👍 1