mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-06-13 11:46:08 -05:00
difference
2
JSX.md
2
JSX.md
@@ -54,7 +54,7 @@ The `as` operator is available in both `.ts` and `.tsx` files.
|
||||
|
||||
# Type Checking
|
||||
|
||||
In order to understand type checking with JSX you must first understand the differnece between intrinsic elements value-based elements.
|
||||
In order to understand type checking with JSX you must first understand the difference between intrinsic elements value-based elements.
|
||||
Given a JSX expression `<expr />`, `expr` may either refer to something intrinsic to the environment (e.g. a `div` or `span` in a DOM environment) or to a custom component that you've created.
|
||||
This is important for two reasons:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user