To understand the benefits of RSCs, I will briefly talk about Server Side rendering (SSR) and Suspense boundary.
SSR works on initial page load (W...
For further actions, you may consider blocking this person and/or reporting abuse
Thanks, for sharing with the community
@a_m_h_gad
If I'm not mistaken you can do this with the header-cookies functions of next: nextjs.org/docs/app/api-reference/...
Set your cookie from a server action and read it in your page.tsx route, or in your middleware.
Thanks for sharing š,
I've a question regarding authentication..
I've a Nextjs14 app which I will integrate with a PHP server usually I store JWT at localstorage and send it with all client side requests but of course it's not accessible on server side.
Is there a way I can store it on server side and use it on server side components ?
Thanks in advance.