UNSAFE_STORAGE_ACCESS: Component uses the page's storage
| Severity | Fault | Stage |
|---|---|---|
| error | customer (the source package) | build output |
What it means
Section titled “What it means”The component uses localStorage, sessionStorage, indexedDB or the Cache API (caches), which belong to the host site’s origin: the component could read what the site stored there and leave data behind without the visitor’s consent (rule local-storage).
How to fix
Section titled “How to fix”Keep state in memory (useState) or in props; to persist data, use the Taggor data API (useTaggorData).