Replies: 1 comment
-
Option 1: Use Inertia's shared data feature. Since SSR has access to the page context, you can share cookie data from the server side to the client side. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am working with server-side rendering (SSR) in an application using Inertia.js. I need to access cookies on the server side during the SSR process.
Are there built-in mechanisms in Inertia.js to handle cookies for SSR, such as SSRContext.cookie? If so, how can I leverage these mechanisms to retrieve and use cookies effectively in this context?
Any guidance or examples on how to implement this would be greatly appreciated.
Beta Was this translation helpful? Give feedback.
All reactions