Encapsulation โ (Paradigm) to pack properties & methods into component, to keep private and restrict access (unless expose via API)
aka Encapsulate
TypeScript extends JavaScript classes through private & protected
Naming convention for protected variables via prefixed _ or __ - notifies other programmers of private variable
Referencesโ
Componentโ ๐งฑComposable code to Encapsulate, Reuse & return React ElementFibervia JSXWrapperโ Object to wrap & Encapsulate dataSeparation of Concernsโ (Paradigm) to Encapsulate (Software) into dintinct modular sections vs purpose/logic@mixinโ At-Rule to Encapsulate Style Rule with optional argsBlockโ Source Code Encapsulate in{ }curly braces (excl Object Literals) to define boundary of Lexical Environment