πŸ”„ State Management

We use Provider or Bloc for effective and scalable state management.

  • Provider is used for simpler components like theme switching, locale, or small state containers.

  • Bloc is preferred for complex workflows like authentication, course progression, and handling test logic.

Benefits:

  • Clear separation of business logic from UI

  • Scalable and testable architecture

  • Enhanced maintainability

Last updated