777
How to make use of <Suspense>
I have some code that I think might benefit from the Suspense component.
I understand that for suspense to work the actual component being rendered needs to be asynchronous, but I don't understand how I can make the
OsFolderCard
async as the get_os_folders
function returns all of them at once. If someone could explain how I could do that, or if it's even beneficial or not bcz of the way I fetch my data
2 replies