hiddify-next/lib
veto9292 116c79e797 fix: temporarily patch Riverpod lazy build-phase collision on connection status changes
Temporary hotfix to resolve fatal 'setState() called during build' errors caused by lazy
evaluation of dirty provider dependency chains during high-frequency status transitions.

- Establishes eager evaluation by listening to `activeProxyNotifierProvider` at the root
  container level during bootstrap to resolve dirty state flushes in microtasks.
- Refactors `serviceRunningProvider` and all downstream dependent stream/future
  notifiers to execute synchronously to prevent build-phase timing hops.
- Defers secondary state updates using `Future.microtask()`.

Note: This is a temporary architectural patch to bypass Riverpod's lazy widget evaluation
mechanics under high-frequency stream updates. A full core communication redesign is
recommended for future maintenance to address this natively.
2026-05-21 16:36:33 +03:30
..
core save route general options expansion state for better UX 2026-05-17 23:32:16 +03:30
features fix: temporarily patch Riverpod lazy build-phase collision on connection status changes 2026-05-21 16:36:33 +03:30
gen Format .dart files 2025-12-26 19:47:11 +03:30
hiddifycore feat(singbox): add foundational models and constants for chain functionality 2026-05-08 05:32:53 +03:30
singbox/model update sing box repo and model for adding route rule and removing blockAds and bypassLan 2026-05-18 00:28:58 +03:30
utils refactor: change port range separator from '-' to ':' to simplify GenericListPage and notifier logic by eliminating the need for conversion during read/write 2026-05-17 23:02:26 +03:30
bootstrap.dart fix: temporarily patch Riverpod lazy build-phase collision on connection status changes 2026-05-21 16:36:33 +03:30
main_prod.dart Format .dart files 2025-12-26 19:47:11 +03:30
main.dart Format .dart files 2025-12-26 19:47:11 +03:30
riverpod_observer.dart Format .dart files 2025-12-26 19:47:11 +03:30