From aa95ef598cb2b58d82f5d77599924808dbe9cfe1 Mon Sep 17 00:00:00 2001
From: Brian Liu
Basic type concept will be described in this section. Primitive types, object types, variant type, and Nullable types exist in JSX.
-There are three pritimive types in JSX: new Point(42) or new Point(
Pritimive Types
+Primitive Types
string, number, and boolean. The three are non-nullable, immutable types. The code snippet below declares three variables s, n, b with their repective types, annocated to the right of the name of the variables using the : mark.
+There are three Primitive types in JSX: string, number, and boolean. The three are non-nullable, immutable types. The code snippet below declares three variables s, n, b with their repective types, annocated to the right of the name of the variables using the : mark.
-There are three Primitive types in JSX: string, number, and boolean. The three are non-nullable, immutable types. The code snippet below declares three variables s, n, b with their repective types, annocated to the right of the name of the variables using the : mark.
+There are three primitive types in JSX: string, number, and boolean. The three are non-nullable, immutable types. The code snippet below declares three variables s, n, b with their repective types, annocated to the right of the name of the variables using the : mark.