Documentation: Add notice that cookie size is limited to 4096 bytes
Closed this issue · 2 comments
Wafje commented
Clear and concise description of the problem
Using Nuxt, pinia-plugin-persistedstate defaults to Cookies.
As cookie size is limited to 4096 bytes; when the store contains to much information, no cookie will be set.
Suggested solution
Add notice to documentation about this limitation
Alternative
No response
Additional context
No response
Validations
- Follow our Code of Conduct
- Read the Contributing Guide.
- Check that there isn't already an issue that request the same feature to avoid creating a duplicate.
Wafje commented
This one scratched my head for a couple of hours.
Jao8 commented
That would be great! I lost a lot of time trying to understand why a specific store wasn't persisting, and if it hadn't been for this issue, I would still be pursuing it.