Preparing search index...
    • AppWrapper - Root application component managing app initialization and modes

      Controls the main application flow including first-time user experience, tutorial mode, and normal app operation. Handles state transitions between different app modes based on user actions and first launch detection.

      App Modes:

      • Loading: Initial state while checking first launch
      • Welcome: First-time user onboarding screen
      • Tutorial: Guided tutorial with sample data
      • Ready: Normal app operation

      Features:

      • First launch detection and onboarding
      • Tutorial mode with pre-populated shopping list
      • Shopping list reset on app launch
      • State management for app flow
      • Decode integrity: a corrupt row found while decoding any cached table is rethrown here during render, so the root error boundary shows the recovery screen instead of the app running on silently truncated data. Every table's hook is read, so the throw does not depend on which slice happens to notify. Development and E2E builds only — decodeError is always null in production.

      Returns Element | null

      JSX element representing the current app mode