| 1 | What are lifecycle hooks in Angular and why would you use them? Angular › Lifecycle Hooks | Angular | Lifecycle Hooks | Beginner |
| 2 | What is the correct order in which Angular calls the main lifecycle hooks during a component's life? Angular › Lifecycle Hooks | Angular | Lifecycle Hooks | Advanced |
| 3 | Why is the constructor generally not the right place to fetch data or perform complex setup in an Angular component? Angular › Lifecycle Hooks | Angular | Lifecycle Hooks | Beginner |
| 4 | What does ngOnDestroy do, and why is it important for cleaning up resources like subscriptions? Angular › Lifecycle Hooks | Angular | Lifecycle Hooks | Intermediate |
| 5 | What is the difference between ngOnChanges and ngOnInit, and when does each run? Angular › Lifecycle Hooks | Angular | Lifecycle Hooks | Intermediate |
| 6 | How do CodeDeploy lifecycle hooks defined in an appspec file control the deployment process? AWS › AWS CodePipeline, CodeBuild & CodeDeploy (CI/CD) | AWS | AWS CodePipeline, CodeBuild & CodeDeploy (CI/CD) | Intermediate |
| 7 | How do lifecycle hooks in Auto Scaling Groups let you customize instance launch and termination behavior? AWS › Auto Scaling Groups | AWS | Auto Scaling Groups | Advanced |
| 8 | What does componentDidMount do in a class component and what is its equivalent using hooks? React › Class Components & Legacy Lifecycle Methods | React | Class Components & Legacy Lifecycle Methods | Intermediate |
| 9 | What is IHostedLifecycleService, and how does it provide more granular hooks than IHostedService's StartAsync/StopAsync? .NET › Background Services | .NET | Background Services | Advanced |
| 10 | How would you use async_hooks (the lower-level predecessor to AsyncLocalStorage) to trace the lifecycle of asynchronous resources in Node.js? Node.js › Event Loop & Non-blocking IO | Node.js | Event Loop & Non-blocking IO | Advanced |
| 11 | What is a custom hook in React and why would you create one? React › Custom Hooks | React | Custom Hooks | Beginner |
| 12 | What is the difference between useEffect and code that runs directly during rendering? React › Effects & Lifecycle | React | Effects & Lifecycle | Beginner |
| 13 | What is a class component in React and how does it differ from a function component? React › Class Components & Legacy Lifecycle Methods | React | Class Components & Legacy Lifecycle Methods | Beginner |
| 14 | What is the useEffect hook used for in React? React › Effects & Lifecycle | React | Effects & Lifecycle | Beginner |
| 15 | What does the useState hook do, and how do you use it? React › Hooks | React | Hooks | Beginner |
| 16 | Why can only class components be used as error boundaries in React? React › Class Components & Legacy Lifecycle Methods | React | Class Components & Legacy Lifecycle Methods | Intermediate |
| 17 | What is useLayoutEffect and how is it different from the regular useEffect hook? React › Concurrent Hooks (useTransition, useDeferredValue & useLayoutEffect) | React | Concurrent Hooks (useTransition, useDeferredValue & useLayoutEffect) | Intermediate |
| 18 | How would you write a custom hook to fetch data from an API and share that logic across components? React › Custom Hooks | React | Custom Hooks | Intermediate |
| 19 | What does the dependency array in useEffect actually control? React › Effects & Lifecycle | React | Effects & Lifecycle | Intermediate |
| 20 | How do you clean up an effect in React, and why is it important? React › Effects & Lifecycle | React | Effects & Lifecycle | Intermediate |
| 21 | What is the useMemo hook and how does it help with performance? React › Hooks | React | Hooks | Intermediate |
| 22 | How would you build a custom hook that debounces a fast changing value, such as text typed into a search box? React › Custom Hooks | React | Custom Hooks | Advanced |
| 23 | What problem do libraries like React Query and SWR solve compared to fetching data with plain useEffect? React › Data Fetching (React Query & SWR) | React | Data Fetching (React Query & SWR) | Beginner |
| 24 | Why is it usually better to use a data fetching library instead of writing your own fetch logic in every component? React › Data Fetching (React Query & SWR) | React | Data Fetching (React Query & SWR) | Beginner |
| 25 | What is the difference between a ref created with useRef and one created with createRef? React › Refs, useRef & forwardRef | React | Refs, useRef & forwardRef | Beginner |
| 26 | What is the difference between using a resolver and simply fetching data inside a component's ngOnInit method? Angular › Router Guards & Resolvers | Angular | Router Guards & Resolvers | Beginner |
| 27 | What is the difference between ViewChild and ContentChild in Angular? Angular › Template Reference Variables & ViewChild | Angular | Template Reference Variables & ViewChild | Beginner |
| 28 | How is useRef different from useState when it comes to storing a value? React › Refs, useRef & forwardRef | React | Refs, useRef & forwardRef | Intermediate |
| 29 | How would you use a ref to keep track of a component's previous prop value? React › Refs, useRef & forwardRef | React | Refs, useRef & forwardRef | Intermediate |
| 30 | Why does Strict Mode call component functions and certain effects twice during development? React › Strict Mode & Concurrent Features | React | Strict Mode & Concurrent Features | Intermediate |
| 31 | How would you check whether any content was actually projected into a component using ng-content? Angular › Content Projection (ng-content) | Angular | Content Projection (ng-content) | Intermediate |
| 32 | How does the async pipe simplify working with observables directly in an Angular template? Angular › Pipes (Built-in & Custom) | Angular | Pipes (Built-in & Custom) | Intermediate |
| 33 | Why is it important to unsubscribe from an RxJS observable, and what are common ways to do this correctly in Angular? Angular › RxJS & Observables | Angular | RxJS & Observables | Intermediate |
| 34 | What does the ViewChild decorator do, and how would you use it to access a child component from a parent's TypeScript code? Angular › Template Reference Variables & ViewChild | Angular | Template Reference Variables & ViewChild | Intermediate |
| 35 | How does the newer signal based viewChild function differ from the traditional ViewChild decorator? Angular › Template Reference Variables & ViewChild | Angular | Template Reference Variables & ViewChild | Intermediate |