React
React fundamentals, Components, State Management
Index
Topic | React | Angular |
---|---|---|
Introduction | Virtual DOM, JSX | TypeScript, HTML/CSS |
Components | Functional & Class Components | Components & Directives |
State Management | Context, Redux, Zustand | Services, NgRx, NGXS |
Routing | React Router | Angular Router |
Forms | Controlled & Uncontrolled | Template-driven & Reactive |
Performance | memo, Code Splitting | Change Detection, AOT |
Testing | Jest, RTL | Jasmine, Protractor |
Advanced Patterns | HOC, Render Props | DI, Decorators |
Styling | CSS-in-JS, Modules | Angular Material |
Deployment | Build & CI/CD | CLI & Build Tools |
Introduction
React
- Virtual DOM concept
- JSX syntax
- Component-based architecture
- React ecosystem
Angular
- TypeScript fundamentals
- Decorators & metadata
- Module system
- Dependency Injection
Components
React
- Functional Components
- Class Components
- Props & Children
- Component Composition
- Pure Components
- Hooks (useState, useEffect, useContext)
Angular
- Component architecture
- Templates & Data binding
- Input/Output decorators
- Lifecycle hooks
- Directives (Structural & Attribute)
- Services & DI
State Management
React
- Local state (useState)
- Context API
- Redux vs Zustand
- MobX
- Recoil & Jotai
Angular
- Services with BehaviorSubject
- NgRx (Store, Actions, Reducers)
- NGXS
- Akita
- State management patterns
Routing
React
- React Router setup
- Route parameters
- Nested routes
- Protected routes
- Navigation guards
Angular
- Router setup
- Route parameters
- Child routes
- Route guards
- Lazy loading
- Preloading strategies
Forms
React
- Controlled Components
- Uncontrolled Components
- Form validation
- Form libraries (Formik, React Hook Form)
- File uploads
Angular
- Template-driven forms
- Reactive forms
- Form validation
- Custom validators
- Form arrays
- Dynamic forms
Performance
React
- React.memo
- useMemo & useCallback
- Code splitting
- Lazy loading
- Performance monitoring
Angular
- Change Detection
- OnPush strategy
- AOT compilation
- Tree shaking
- Bundle optimization
- Memory management
Testing
React
- Jest setup
- React Testing Library
- Component testing
- Integration testing
- Custom hooks testing
Angular
- Unit testing with Jasmine
- Integration testing
- E2E with Protractor/Cypress
- TestBed configuration
- Service mocking
Advanced Patterns
React
- Higher Order Components
- Render Props
- Compound Components
- Custom Hooks
- Error Boundaries
Angular
- Content projection
- Dynamic components
- Custom decorators
- Web Components
- Micro frontends
Styling
React
- CSS Modules
- Styled Components
- Tailwind CSS
- CSS-in-JS
- Theme Systems
Angular
- Angular Material
- NGX-Bootstrap
- PrimeNG
- Component styling
- Theme customization
Deployment
React
- Build process
- Environment variables
- CI/CD setup
- Hosting options
- Performance optimization
Angular
- Production builds
- Deployment strategies
- Version updates
- Breaking changes
- Performance monitoring