![]() Intrinsic elements are looked up on the special interface JSX.IntrinsicElements.īy default, if this interface is not specified, then anything goes and intrinsic elements will not be type checked. TypeScript uses the same convention that React does for distinguishing between these.Īn intrinsic element always begins with a lowercase letter, and a value-based element always begins with an uppercase letter. Intrinsic element attributes should be known intrinsically whereas components will likely want to specify their own set of attributes.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |