Improved task status handling
ClaudiaRojasSoto opened this issue · comments
I congratulate you on the code I saw in this application. Undoubtedly a very clear and understandable code. I found something that can help you make it even easier:
In the statusUpdates.js file, you are using the saveTasks function imported from taskFunctions.js to save the status of tasks to local storage. However, you might consider calling saveTasks just once after performing all task update operations instead of doing it in each individual addTask, deleteTask, and editTask function. This will prevent unnecessary writes to local storage and improve performance.
toDo_list/src/taskFunctions.js
Lines 5 to 27 in c0fe4e5