-
Notifications
You must be signed in to change notification settings - Fork 2
Closed
Description
Description:
The app loses existing data when loaded due to a race condition between API data loading and automatic "Default" project creation.
Root Cause:
TodoAppconstructor immediately creates a "Default" project which triggersupdateDataToAPI()loadHomepage()simultaneously callsloadFromAPI()to fetch existing data- The update call overwrites server data before/after the load completes
Expected Behavior:
App should load existing data from API without data loss
Actual Behavior:
Existing projects and todos are cleared and replaced with empty "Default" project
Impact:
Users lose their saved data every time the app is refreshed/reloaded
Metadata
Metadata
Assignees
Labels
No labels