Skip to main content

ReactMinimalist Lib to build App UI via Declarative Component Based Architecture

aka Reactjs

React Concepts

Definitions on React Concepts, Paradigms & Comparisons to other frameworks

React API

core lib to expose react functionality

React Stack

Broader React Ecosystem, third party libraries & frameworks

React Snippets

useful React custom hooks/patterns

React Versions

breaking change, major features

References

  1. DiffingReact HeuristicAlgorithm to reconcile change in state vs view & handle update to DOM

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

  3. CCReact class Instance extends React.Component, provides render() Method to return UI, manage state & perform side effects on Lifecycle Methods

  4. ReactComponentElementType for React CC or FC

  5. ReactDOMRenderer for React, to handle DOM updates

  6. React.Fragment ↔ empty React placeholder container w/o "physical" Element add to final HTML

  7. Memo()React function from useMemo() API for Memoization of any function !snippet for addition

<code>import</code>  {memo} 
const add = (a, b) => a + b;
const memAdd = memo(add)
  1. React DevToolsBrowser Extension to inspect React App (dev build only!) to view Component Hierarchy, props & state

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

  3. High CompatReact is Backend-agnostic, readily plugs into other Lib/Frameworks

  4. Declarative ↔ You tell React HOW you want the final web page to LOOK & let VDOM Abstracts & handle DOM manipulation more efficiently

  5. Back-end agnosticReact integrates with any Backend framework/language ie Java, Ruby, Go, Python

  6. MinimalistReact focus to UI Primitives , defer other design concerns to React Ecosystem

  7. react-redux ↔ sub-library with React Binding for redux

  8. CRA ↔ CRAp Scaffolding Dev tool to gen new React project with app skeleton & Boilerplate

  9. Hooks APIReact API to make React more Functional

  10. Escape Hatch ↔ (mech) to express logic outside React model - to direct manipulate DOM

  11. <div id="root"></div> ↔ root container to render React App into

  12. Unidirectional bindingReact restricts data flow to one-way down Component Hierarchy. optional Escape Hatches exist