Migration: Vanilla JavaScript to React

Move from imperative WebAuthn integration to reusable React hooks and provider-driven auth state.

  • - Replace manual ceremony calls with `useAuth` and `usePasskey` hooks.
  • - Centralize session hydration in an app-level provider boundary.
  • - Standardize error handling and loading states with shared UI primitives.