From b26e67d1e91816fabe0fb503f408d629e1670e04 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Glas=C3=B8=20Skifjeld?= Date: Tue, 5 Sep 2017 18:50:11 +0200 Subject: [PATCH] docs: Fix typo in jsx docs (#1959) --- docs/jsx.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/jsx.md b/docs/jsx.md index 1c1b92ef..826d8ce0 100644 --- a/docs/jsx.md +++ b/docs/jsx.md @@ -191,7 +191,7 @@ JSX is useful for teams where HTML is primarily written by someone without Javas Hyperscript is the compiled representation of JSX. It's designed to be readable and can also be used as-is, instead of JSX (as is done in most of the documentation). Hyperscript tends to be terser than JSX for a couple of reasons: - it does not require repeating the tag name in closing tags (e.g. `m("div")` vs `
`) -- static attributes can be written using CSS selector syntax (i.e. `m("a.button")` vs `
` +- static attributes can be written using CSS selector syntax (i.e. `m("a.button")` vs ``) In addition, since hyperscript is plain Javascript, it's often more natural to indent than JSX: