Skip to main content
Version: v1.0

Prefabs

Prefabs are pre-built patterns and utilities that extend the core reactivity system to solve common problems. They provide higher-level abstractions built on top of reactive values and stores.

Available Prefabs

  • Memento Pattern - Save and restore state, enabling undo/redo functionality
  • Finite State Machine (FSM) - Type-safe state management for complex flows
  • Buses - Message-based communication patterns:
    • Command Bus - CQRS pattern for handling commands (write operations)
    • Query Bus - CQRS pattern for handling queries (read operations)
    • Event Bus - Publish/subscribe pattern for event-driven architectures