Nuxt useState vs ref(): Why Server State Leaks Across Users
DEV Community
Nuxt useState vs ref(): Why Server State Leaks Across Users
A module-scope ref() in Nuxt is shared by every request that hits your server. Learn why useState isolates state per user, and how to fix the leak.
0 comments
No comments yet.