From 9790b28a9bfc496470227abde9d347c3cdc4b3f1 Mon Sep 17 00:00:00 2001 From: Jonty Brook Date: Thu, 18 Jul 2024 23:30:02 +0100 Subject: [PATCH] docs: fix typo in js-confetti guide --- docs/content/docs/1.getting-started/3.confetti-tutorial.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/content/docs/1.getting-started/3.confetti-tutorial.md b/docs/content/docs/1.getting-started/3.confetti-tutorial.md index ab38f90f..7f547583 100644 --- a/docs/content/docs/1.getting-started/3.confetti-tutorial.md +++ b/docs/content/docs/1.getting-started/3.confetti-tutorial.md @@ -102,7 +102,7 @@ useScriptNpm({ Now that we have a way to resolve the third-party script API, we can start using it. The `js-confetti` library requires us to instantiate a new instance of the `JSConfetti` class everytime it's used, -the most compatible way to handle this is to for the script to load explicitly. +the most compatible way to handle this is to wait for the script to load explicitly. However, we can also make use of [proxied functions](/docs/guides/script-loading#Understanding-proxied-functions) if we prefer an easier to use API. Note that this will break when switching between pages as `new window.JSConfetti()` needs to be called between pages.