From 84762cdc49ba8e8982d8d7390be9dde16f1d51c8 Mon Sep 17 00:00:00 2001 From: Cies Breijs <8694+cies@users.noreply.github.com> Date: Sun, 9 Apr 2023 14:01:23 +0200 Subject: [PATCH] Let's call it a typo :) --- docs/0.4.x/en-US/capsules/intro.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/0.4.x/en-US/capsules/intro.md b/docs/0.4.x/en-US/capsules/intro.md index 3a4997724b..57cc45e066 100644 --- a/docs/0.4.x/en-US/capsules/intro.md +++ b/docs/0.4.x/en-US/capsules/intro.md @@ -2,7 +2,7 @@ Capsules are one of the most powerful features of Perseus, and, if you learn to use them, you can build some phenomenal apps extremely efficiently, taking maximum advantage of Perseus' advanced state platform. -Remember how **template + page = state**? Well, similarly **capsule + state = widget**. *Widgets* are very similar to other pages, except they don't have ``s, and they don't take up the whole page. Rather, they're embedded by other pages as, well, widgets. As widgets are to pages, capsules are to templates: a single capsule can generate many widgets, and has full access to the Perseus state platform. +Remember how **template + state = page**? Well, similarly **capsule + state = widget**. *Widgets* are very similar to other pages, except they don't have ``s, and they don't take up the whole page. Rather, they're embedded by other pages as, well, widgets. As widgets are to pages, capsules are to templates: a single capsule can generate many widgets, and has full access to the Perseus state platform. The reason capsules are useful is because they can be cached very aggressively: when Perseus loads a new page, it won't re-request capsules it already has, meaning apps that make heavy use of capsules can cut the amount of data transmitted over the network substantially!