← Library08 Sources/Ei Maung PDFs

source · pdf · react · frontend

React On Point

08 Sources/Ei Maung PDFs/React On Point.md

React On Point

Official source

Actual coverage

ES6; React basics; data flow; composition/code splitting; component styles; functional components; Context; Redux; routing; React Native; promises; API integration; Next.js.

Durable knowledge

  • UI is a function of state; React reconciles a declarative tree when inputs change.
  • Data flows down through props; events/commands flow up. Lift state only to the nearest shared owner.
  • Component composition is usually more flexible than inheritance.
  • Effects synchronize with systems outside rendering; derive values during render when no synchronization is needed.
  • Context distributes ambient values but can hide coupling and increase rerenders.
  • Global state tools are justified by shared complexity, not by the mere existence of state.
  • API screens need explicit loading, empty, failure, stale, and permission states.
  • Routing and server rendering affect data ownership, navigation, caching, and deployment.

Current-use caution

React APIs and recommended frameworks have evolved. Preserve component/data-flow principles and verify implementation guidance with current React and Next.js documentation.

Knowledge connections