Skip to main content

10 docs tagged with "examples"

View all tags

Angular storage service

Wrap the supported Strata Storage API in an Angular service for local drafts and subscriptions.

Expire local values

Use Strata Storage TTL, absolute expiry and expiry inspection without treating client expiry as server authentication.

Handle storage errors

Handle failed Strata Storage writes and reads using the public error classes and explicit fallback behavior.

Local shopping cart

Keep a small browser cart with Strata Storage while leaving prices and checkout to the server.

Measure storage work

Measure Strata Storage reads, writes and local query costs without invented benchmarks or unsupported indexes.

Persist a form draft

Save, restore and discard a small form draft with Strata Storage without promising an upload or submission.

Query stored values

Query decoded Strata Storage values with supported operators and result options.

Sync a local outbox

Queue browser writes with Strata Storage and replay them to an idempotent server endpoint.

Vue storage composable

Keep a small Vue value in browser storage and clean up the Strata Storage subscription on unmount.