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 ElementFiber
via 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