Hooks

This section provides comprehensive documentation for all custom React hooks provided by the @fireact.dev/app package. These hooks encapsulate reusable logic and stateful behavior, simplifying common tasks in your Fireact frontend application.

Key Hooks:

  • useAuth: Provides convenient access to the AuthContext.
  • useConfig: Provides convenient access to the ConfigContext.
  • useLoading: Provides convenient access to the LoadingContext.
  • useSubscription: Provides convenient access to the SubscriptionContext.
  • useSubscriptionInvoices: Provides a convenient way to fetch and paginate a list of invoices associated with a specific subscription.

Last modified August 16, 2025: app package doc (35d0b09)