Skip to main content

React Elementimmutable stateless building blocks of React apps, returned by components

image

lightweight stateless immutable primitive? in React that mirrors the DOM API

provides set of instructions for React to render

used to construct the VDOM, as a blueprint for updating the DOM API

ReactComponentElement

Type for React CC or FC

ReactDOMElement

Type for react VDOM rep of element

used as descriptor to tell React what to show on screen

References

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

  2. VDOM ↔ Intermediate Abstraction layer between Source Code & DOM API , data structure to mirror DOM API comprised of Fiber (React Element)

  3. React.Component ↔ base Abstract Class that provides render() method to return React Element(s), state & Lifecycle Methods