MrDeer
Explore posts from serversHow to use useState with functions inside
Hey, I have been trying to create a composable for a header, which contains all details about the header.
The issue I am facing is, that the useState composable cannot hold functions, otherwise I will get a cannot stringify a function during SSR.
What is the recommended workaround to a composable like this?
6 replies