You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
refactor(app): remove non-idempotent side effects and async loads from QueryaApp.build() #1345
In Flutter, Widget.build() must be pure and idempotent. Executing setup logic, registering global commands, and initiating background async I/O scans on every widget rebuild violates this contract.
In lib/main.dart (line 23), installAppWiring() is already invoked during startup prior to runApp().
Any rebuild of the root widget (e.g. hot reload, platform brightness changes, or scale updates) triggers LocalExtensionRegistry.instance.load() and command re-registration again.
Code Location
lib/app/app.dart (lines 22–26)
UI Kit Relationship
App Root Layer (Not UI Kit): Lives in lib/app/app.dart.
Activity
ZhuchkaTriplesix commentedon Oct 11, 2026
Done in #1387 (merged into
dev).