every note, in one binder ✎

Developer interview notes & guides — Page 7

Focused explanations and longer guides, with worked scenarios, common mistakes and interview exercises across every chapter.

read ✓Node.js · easy

Node.js Streams and Backpressure

What write() returning false means, how ignoring it buffered 197 MB for one slow client, and why awaiting drain alone hangs on a disconnect.

~7 min readread →
read ✓Node.js · hard

Node.js Test Isolation and Async Completion

Why an unawaited assert.rejects passes, how one unclosed server hung a test file, and node:test patterns that keep each test's state its own.

~7 min readread →
read ✓Node.js · mid

Node.js Timers and Scheduling Guarantees

setTimeout promises a minimum delay, not a time. Measured drift, skipped interval ticks, and how to build a countdown that stays correct.

~7 min readread →
read ✓Node.js · mid

Node.js Worker Threads and CPU Parallelism

On Node 22 a worker cut main-thread lag from 455 ms to 1 ms, yet a new worker per tiny task was 550x slower. Build a bounded pool instead.

~8 min readread →
read ✓React · hard

React Dialogs: Focus, Escape and Restoration

Build an accessible React modal: native dialog with showModal, focus on open, Escape to close, focus restoration and testing with keyboard only.

~7 min readread →
read ✓React · easy

React Derived Values Without Extra State

Stop syncing state with useEffect: compute filtered lists, totals and validity during render in React, and use useMemo only for real cost.

~6 min readread →
read ✓React · hard

React Error Boundaries and Recovery Scope

What React error boundaries catch and miss, where to place them so one failing widget does not blank the page, and how to reset after errors.

~7 min readread →
read ✓React · hard

React Hydration and Matching Initial Content

What causes React hydration mismatch errors: dates, random ids, window checks and bad HTML nesting, plus fixes with useId, effects and Suspense.

~7 min readread →
read ✓React · easy

React List Keys: Why Index Keys Break State

Why React list keys matter: how index keys attach state to the wrong row after deletes or reordering, and how to pick a stable, unique key.

~6 min readread →
read ✓React · mid

React Reducers and Valid State Transitions

When to choose useReducer over useState: model status as one field, reject impossible transitions in the reducer, and test it in plain Node.

~6 min readread →
read ✓React · easy

React Refs Versus State for Mutable Values

useRef vs useState in React: refs change without re-rendering, state drives the UI. Learn which values belong where, with timer and DOM examples.

~6 min readread →
read ✓React · easy

React Resetting Forms With Component Keys

Reset a React form when the selected record changes by giving it a key: how keys control state identity and why useEffect resets go wrong.

~6 min readread →
read ✓Spring Boot · hard

Spring Actuator Exposure and Operational Access

Which Spring Boot Actuator endpoints to expose, how exposure differs from authorization, and how to lock down env, heapdump and health details.

~7 min readread →
read ✓Spring Boot · mid

Spring Controller Advice and Error Responses

Map Spring Boot exceptions to stable HTTP errors with @RestControllerAdvice and ProblemDetail, without leaking stack traces or internals.

~6 min readread →
read ✓Spring Boot · mid

Spring JPA Optimistic Locking and Conflicts

How JPA @Version prevents lost updates in Spring Boot, what ObjectOptimisticLockingFailureException means, and when to retry or return 409.

~7 min readread →
esc