Replies: 1 comment
-
Both work well, and I don't see any downside to the second approach! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
What is the best practice for storing an array of data in useSWR...
If I had a list of todos would you store it as an array like
or
The second way is quite cool because you can then do...
but is there any downside to that approach?
Beta Was this translation helpful? Give feedback.
All reactions