Newest videos
The latest videos, newest first. Looking for a topic or level? Browse all videos.
What is the basic role of the ngRoute module's $routeProvider?
What does $location provide in AngularJS?
What is the basic purpose of 'track by' in an expression like ng-repeat="item in items track by item.id"?
What does the pipe syntax in an expression like {{ name | uppercase }} represent?
What does the template option in a directive definition object do?
In a custom directive definition, what does the restrict option with the value 'E' mean?
What is the basic purpose of the $http service?
How does AngularJS actually resolve a dependency like $scope or a custom service name when injecting it into a controller?
What is the basic distinction between a controller and a service in AngularJS?
What does it mean that JSX "compiles down to" `React.createElement` calls?
Why does calling a state setter (e.g. from `useState`) not update the variable's value immediately, synchronously, in the very next line of code after calling it?
If a `useEffect` has an empty dependency array `[]`, when does its effect function run?
How do you read a value provided by a `Context.Provider` inside a function component?
In a function component, what's the equivalent of a class component's `componentDidUpdate` (code that should run after specific props or state change, but not on the very first render)?
At a conceptual level, what is a React error boundary for?
What does `useReducer` provide that plain `useState` doesn't, at a basic level?
What is the idiomatic way for a child component to notify its parent that something happened (e.g. a button was clicked inside the child)?
What's the practical tradeoff between wrapping sibling elements in a `<div>` versus a `<React.Fragment>` (`<>...</>`)?
What is PropTypes (or a TypeScript prop interface) used for in React?
For a controlled text input, which pattern correctly keeps the input's displayed value in sync with React state?
What is a basic, legitimate use case for `useRef` at this stage?
In legacy (pre-React-18) behavior, if you call two separate `setState`/state-setter updates inside a single React event handler (like an onClick), what typically happens?
When rendering a list of items with `.map()`, why is using the array index as the `key` prop often discouraged?
What is a "synthetic event" in React?
What problem is React's Context API primarily designed to solve?
What problem does "prop drilling" describe?
What is the purpose of the function you can optionally return from inside a `useEffect` callback?
Two sibling components both need access to the same piece of state, but there's no existing parent holding it. What is the standard React pattern for this?
Compared to the class-component lifecycle, when does a `useEffect` with no dependency array run relative to `componentDidMount` and `componentDidUpdate`?
What is a tagged template literal, e.g. `` myTag`Hello ${name}` ``, used for?
What does `Array.from({length: 3}, (_, i) => i * 2)` produce?
What is the (now largely superseded) module pattern using an Immediately Invoked Function Expression (IIFE) used for?
What does `Object.entries({a: 1, b: 2})` return?
What does calling an `async` function actually return, even if the function body never explicitly returns a Promise?
What does `Array.prototype.includes()` check for?
What is the key difference between the nullish coalescing operator `??` and the logical OR `||`?
What does optional chaining (`obj?.prop`) do?
What practical advantage does a `Set` have over an `Array` for storing a collection of values?
What does `Array.prototype.find()` return when no element satisfies the predicate?
What is the purpose of default parameter values in a function declaration, e.g. `function f(x = 10) {}`?
What is the practical difference between `Array.prototype.forEach` and a `for...of` loop regarding `break`/`continue`?
What does `Object.freeze()` do to an object?
What does the `...rest` parameter do in a function signature, e.g. `function f(a, ...rest) {}`?
What is destructuring assignment used for?
What is 'hoisting' in JavaScript?
What do Array methods like `map`, `filter`, and `reduce` have in common?
In a regular (non-arrow) function, what determines the value of `this`?
What problem do Promises primarily solve compared to plain callbacks?
What is the JavaScript event loop responsible for?
What effect does a `<base href="https://example.com/docs/">` element in a page's `<head>` have on the rest of the page?