From 2dbd53178b0349f71d9c2d725c619679e349c284 Mon Sep 17 00:00:00 2001 From: Dustin King Date: Fri, 3 Nov 2017 19:54:39 -0400 Subject: [PATCH] Clarify that this is not related to React's JSX. --- doc/src/doc/tutorial.mt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/doc/src/doc/tutorial.mt b/doc/src/doc/tutorial.mt index 088808ef..5c123424 100644 --- a/doc/src/doc/tutorial.mt +++ b/doc/src/doc/tutorial.mt @@ -25,6 +25,9 @@ Therefore, JSX is designed as a statically-typed language. All the values and va

Also, another important reason why JSX was developed is to boost JavaScript performance. JavaScript itself is not so slow but large-scale development tends to have many abstraction layers, e.g. proxy classes and accessor methods, which often have negative impact on performance. JSX boosts performance by inline expansion: function bodies are expanded to where they are being called, if the functions being called could be determined at compile-time. This is the power of the statically-typed language in terms of performance.

+

+If you're here looking for the preprocessor and templating system used by the popular React framework, you should be aware that this is a different JSX and not related to that one. +

Run "Hello, World!"