Issue: Unified Jotai store for cross-context state access
Issue: Unified Jotai store for cross-context state access: a task in LegoFlow-SWE (Harbor dataset). Currently, Jotai state is created and accessed in multiple places, making it difficult to synchronize Jotai atoms with query results without relying on React lifecycle logic. This blocks the ability…
The task
Currently, Jotai state is created and accessed in multiple places, making it difficult to synchronize Jotai atoms with query results without relying on React lifecycle logic. This blocks the ability to update Jotai state from React Query callbacks, which is needed for upcoming canvas improvements (see Issue #1161).
Part of Lego-X/LegoFlow-SWE.