@spuppateddu/guide-storage-cookie
v0.1.0
Published
Cookie adapter for @spuppateddu/guide, for when the server must know a guide state before first paint.
Maintainers
Readme
@spuppateddu/guide-storage-cookie
Cookie adapter for @spuppateddu/guide.
Reach for this only when the server must know a guide's state before the first paint —
a cookie is the one client store it can see. Otherwise prefer
@spuppateddu/guide-storage-local:
cookies are small, are sent on every single request, and drag guide progress into a
consent conversation it does not belong in.
Stays under a 3800-byte budget by dropping the oldest records first, so a long-lived visitor loses their earliest history rather than all of it at once.
License
MIT
