From a17ac87c9e61f51233615e0d36eb8449652bb290 Mon Sep 17 00:00:00 2001 From: "B. Burt" <97593291+beeburrt@users.noreply.github.com> Date: Fri, 6 Jan 2023 02:02:30 -0800 Subject: [PATCH] Refactor wording Closes GH-2214. Reviewed-by: Remco Haszing Reviewed-by: Titus Wormer --- docs/docs/what-is-mdx.server.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/docs/what-is-mdx.server.mdx b/docs/docs/what-is-mdx.server.mdx index 880475ba5..a5e0f76aa 100644 --- a/docs/docs/what-is-mdx.server.mdx +++ b/docs/docs/what-is-mdx.server.mdx @@ -236,7 +236,7 @@ MDX also supports JavaScript expressions inside curly braces: Two 🍰 is: {Math.PI * 2} ``` -Expressions can contain whole JavaScript programs as long as that they’re +Expressions can contain whole JavaScript programs as long as they’re (wrapped in) an expression that evaluates to something that can be rendered. You can use an [IIFE][] like so: