Fetching initial data on server for client components in Next14
Unanswered
Lilac posted this in #help-forum
LilacOP
I have a component that displays a list of data that should be refreshed every 10 seconds (fetched from an api). How can I server side render initial data? The component being dynamic, I have to use
'use client', but in this case I cannot find a way in which I can populate initial data from the server.