Wholteza
Share state between server route and SSR context
I have a server route in a nuxt 3 application that has SSR enabled.
When someone posts to that route i want to set a flag to true.
Then when another requests comes in to render a page i want to read that flag and if it is true i want to perform an action and then reset the flag.
From my exploration of nuxt, nitro and h3 this does not seem to be possible.
Is it possible to share state like this, or should i try to find another solution to my problem?
10 replies