How ava-orange-education/ultimate-react-design-patterns-for-high-performance works
This repository is a companion collection of React teaching demos, not one integrated application. A learner explores examples of component composition and state, performance and rendering, API-backed interfaces, product architecture, design systems, and TypeScript patterns. The sampled entry points show how several demos assemble their components; other capabilities are included from the README and file tree without assuming cross-demo runtime connections. Each chapter is independently runnable, and the edges below show only documented or indexed imports and component use.
Main entry points: src/App.tsx Color State App · src/App.tsx Generic Color App · ControlledFlow.js Controlled Flow · Card.js Compound Card
Components 21
Component Patterns
- Controlled Flow
Chapter 04/ctrl-unctrl-demo/src/components/ControlledFlow.js - Compound Card
Chapter 06/patterns-demo/src/components/Card.js - Expandable Text
Chapter 21/another-prop-composition/src/components/TextPan.tsx - Mouse Position Hook
Chapter 21/component-patterns/src/components/hook/useMousePosition.ts
Rendering & State
- Keyed Counter
Chapter 07/keys-demo/src/components/Counter.js - Deferred Rendering
Chapter 07/usedeferredvalue-demo/src/components/SlowComponent.js - ID Form
Chapter 07/useid-demo/src/components/Form.js - Transition Views
Chapter 07/usetransition-demo/src/components/Cover.js - Book Reviews
Chapter 07/usetransition-demo/src/components/Reviews.js - Book Writer
Chapter 07/usetransition-demo/src/components/Writer.js - Transition Styles
Chapter 07/usetransition-demo/src/components/StyledComponents.js
Data & APIs
- API Layer Demos
Chapter 10/api-layer/src - Infinite Quotes
Chapter 10/api-layer/src/components/InfiniteScrollQuotes.js
Architecture & Design
- Product Operations
Chapter 08/architecture-demo/src/views/products - Design System Demo
Chapter 14/design-components/src
TypeScript Patterns
- Color State App
Chapter 19/dispatch-props/src/App.tsx - Color Context
Chapter 19/dispatch-props/src/context/context.tsx - Generic Color App
Chapter 20/context-generics/src/App.tsx - Generic Context
Chapter 20/context-generics/src/context/context.tsx
Other components
- React Learner
- Chapter Examples
Connections 18
- React Learner → Chapter Examples: studies
README.md - Chapter Examples → Controlled Flow: demonstrates
- Chapter Examples → Compound Card: demonstrates
- Chapter Examples → Expandable Text: demonstrates
- Chapter Examples → Mouse Position Hook: demonstrates
- Chapter Examples → Keyed Counter: renders
- Chapter Examples → Deferred Rendering: renders
- Chapter Examples → ID Form: renders
- Chapter Examples → Transition Views: selects
- Chapter Examples → Book Reviews: selects
- Chapter Examples → Book Writer: selects
- Chapter Examples → Transition Styles: imports
- Chapter Examples → Infinite Quotes: renders
- Chapter Examples → Product Operations: routes
- Chapter Examples → Color State App: demonstrates
Chapter 19/dispatch-props/src/App.tsx - Color State App → Color Context: reads state
Chapter 19/dispatch-props/src/App.tsx - Chapter Examples → Generic Color App: demonstrates
Chapter 20/context-generics/src/App.tsx - Generic Color App → Generic Context: reads state
Chapter 20/context-generics/src/App.tsx