Skip to main content

Composable ↔ (property) of Component (or any general entity) being self-contained, nestable & portable, easily composed into Composite Components

image

Composite Component

Component contains another Component

Components are self-contained - which makes it portable, easily moved around

HOC

Component to modify/enhance other Component

References

  1. Component ↔ 🧱Composable code to Encapsulate, Reuse & return React Element Fiber via JSX

  2. react-router-domReact Lib for Routing Primitives to Client Routing & Server Side Render in Declarative Composable way

  3. Functional Programming ↔ (Paradigm) to construct Programs as MCF (Modular Composable Functions ) (Modular Composable)

  4. children ↔ enables Composable Composite Components by nesting additional React.createElement calls. Used to pass innerText. React recursively evals nested Child Elements to form a VDOM tree