From b01b2e09b7e7aa9b41a44892e8ee47895d8a6a65 Mon Sep 17 00:00:00 2001 From: Vaishnav Shyam Date: Tue, 26 Sep 2023 18:02:11 +0530 Subject: [PATCH] Update 7 - Promises and errors.md --- 9 - Altering data in the server/7 - Promises and errors.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/9 - Altering data in the server/7 - Promises and errors.md b/9 - Altering data in the server/7 - Promises and errors.md index c8f4207..5b85eb8 100644 --- a/9 - Altering data in the server/7 - Promises and errors.md +++ b/9 - Altering data in the server/7 - Promises and errors.md @@ -98,6 +98,6 @@ const toggleImportanceOf = (id) => { notes.filter((n) => n.id !== id); ``` -- It's probably not a good idea to use alert in more serious React applications. We will soon learn a more advanced way of displaying messages and notifications to users. There are situations, however, where a simple, battle-tested method like alert can function as a starting point. A more advanced method could always be added in later, given that there's time and energy for it. +- It's probably not a good idea to use alert in more serious React applications. We will soon learn a more advanced way of displaying messages and notifications to users. There are situations, however, where a simple, battle-tested method like alert can function as a starting point. A more advanced method could always be added in later, given that there's time and energy for it **For reference, check out `notes finished` file in the same directory**