use cache enable
Unanswered
West African Lion posted this in #help-forum
West African LionOP
I got problem I can't resolve, I posted it here https://github.com/vercel/next.js/discussions/87893
6 Replies
West African LionOP
@Cinnamon Teal
West African LionOP
@Saint Hubert Jura Hound
Might be wrong here but if you're using cookie state then you shouldn't use cacheComponents
If however you're trying to use PPR then the component using the cookie should be a client component and then it shouldn't e a problem
You can also not await the cookie on the page, pass it to a client or server component and then await or use use() and wrap in suspense
Allowing the page to be a static shell and streaming in the dynamic content in a lower component