From 5bbb80e7d3eb6d0e5c7c8ddcc130cc3c36b94766 Mon Sep 17 00:00:00 2001 From: Zafar Date: Mon, 13 Feb 2023 15:28:37 +0900 Subject: [PATCH 1/2] Add note chatbot not working in current excersize --- content/tutorial/01-svelte/07-lifecycle/03-update/README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/content/tutorial/01-svelte/07-lifecycle/03-update/README.md b/content/tutorial/01-svelte/07-lifecycle/03-update/README.md index 3c791245b..a7eb67463 100644 --- a/content/tutorial/01-svelte/07-lifecycle/03-update/README.md +++ b/content/tutorial/01-svelte/07-lifecycle/03-update/README.md @@ -2,6 +2,8 @@ title: beforeUpdate and afterUpdate --- +> The Eliza Chatbot in this exercise don't currently work. You can switch to the old tutorial instead: https://svelte.dev/tutorial/update + The `beforeUpdate` function schedules work to happen immediately before the DOM is updated. `afterUpdate` is its counterpart, used for running code once the DOM is in sync with your data. Together, they're useful for doing things imperatively that are difficult to achieve in a purely state-driven way, like updating the scroll position of an element. From bdb26c511c400b1ba29eea4c1f8c75bc98b845b9 Mon Sep 17 00:00:00 2001 From: Rich Harris Date: Mon, 20 Feb 2023 19:02:38 -0500 Subject: [PATCH 2/2] Update content/tutorial/01-svelte/07-lifecycle/03-update/README.md --- content/tutorial/01-svelte/07-lifecycle/03-update/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/tutorial/01-svelte/07-lifecycle/03-update/README.md b/content/tutorial/01-svelte/07-lifecycle/03-update/README.md index a7eb67463..80ac16f54 100644 --- a/content/tutorial/01-svelte/07-lifecycle/03-update/README.md +++ b/content/tutorial/01-svelte/07-lifecycle/03-update/README.md @@ -2,7 +2,7 @@ title: beforeUpdate and afterUpdate --- -> The Eliza Chatbot in this exercise don't currently work. You can switch to the old tutorial instead: https://svelte.dev/tutorial/update +> The Eliza Chatbot in this exercise doesn't currently work. For now, you can use the old tutorial instead: https://svelte.dev/tutorial/update The `beforeUpdate` function schedules work to happen immediately before the DOM is updated. `afterUpdate` is its counterpart, used for running code once the DOM is in sync with your data.