Flash Persistence

Ecosistema completo para organización y gestión de contenido con interfaces espaciales

Flash Persistence

Auto-persistent Angular signals that combine the power of Angular's reactive primitives with automatic, intelligent storage.

What is Flash Persistence?

Flash Persistence provides signals that automatically persist their state to storage, with:

Documentation

Quick Example

import { autoFlashState } from '@storage-system';

// Create a persistent signal
const userPrefs = autoFlashState({
  key: 'preferences',
  initialValue: { theme: 'dark', language: 'en' },
  priority: 'high' // Sync every 5 minutes if MongoDB enabled
});

// Use like any signal
const theme = userPrefs().theme;

// Update - automatically persists
userPrefs.set({ theme: 'light', language: 'es' });

// Updates are instant (0.3ms cache) + background persistence

Key Features

Automatic Persistence

Intelligent Storage

MongoDB Sync (Optional)

Type Safety

Use Cases

Related