Skip to content

docs: fix typo in js-confetti guide #162

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 19, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/content/docs/1.getting-started/3.confetti-tutorial.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down