Search
Lessons (40)
- State Management (Redux, Zustand, TanStack Query)
Where should data live in a frontend app? Learn the four kinds of state, when local state is …
- State, Remote Backends, and Locking
Share state through S3, enable native locking, migrate safely, and protect recovery data. Why state exists A resource …
- StatefulSets, DaemonSets, Jobs and CronJobs
… That is perfect for stateless web APIs, but wrong for some workloads. Need Use --- --- Interchangeable stateless copies Deployment …
- Behavioral Patterns I: Observer, Strategy, Command, State
… deliver delivered -- [ ] cancelled -- [ ] You've used it: useReducer in React, XState state machines, TCP connection states, order and …
- React Fundamentals
Components, props, state and the virtual DOM. Learn to think in React, with a picture of how renders …
- Drift, Troubleshooting, and Disaster Recovery
Diagnose common failures, recover after partial applies, and operate state without destructive guesswork. Start with the failing layer …
- CQRS & Event Sourcing
… return { ...state, balance: state.balance + event.amount }; case "MoneyWithdrawn": return { ...state, balance: state.balance - event.amount }; default: return …
- Month 5: AI Agents and Tool Orchestration (Weeks 17-20)
Build an agent loop from scratch, then stateful agents with LangGraph: checkpoints, human approval, memory, planning, multi-agent …
- React Hooks in Practice
… return { ...state, items: [...state.items, action.item] }; case "remove": return { ...state, items: state.items.filter((i) = i.id …
- CI/CD and Reviewed Production Changes
… Two jobs writing the same state should not race; use both backend locking and CI concurrency controls. Commands …
- React vs Vue vs Angular
The same counter in three frameworks, a side-by-side comparison of reactivity, templates, state and tooling, and …
- Imports, Moved Blocks, and Safe Refactoring
… Back up state securely. Avoid simultaneous writers during ownership transfers. Cross-state moves require a coordinated migration: an …
- Production Capstone and Interview Practice
Combine modules, isolated environments, remote state, tests, and reviewed delivery in a production-style storage project. Build a …
- Environments, Workspaces, and Multiple Accounts
… Also distinguish CLI workspaces from HCP Terraform workspaces , which manage configuration, runs, settings, and state within the hosted …
- Terraform: Start Here
… Terraform's configuration, state, and plan play similar roles. Terraform talks to services through providers . AWS, Azure, Google …
- TypeScript Essentials
… T }; function render(state: RequestState<User[] ) { switch (state.status) { case "loading": return "Loading…"; case "error": return Error: ${state …
- Secrets, Ephemeral Values, and Least Privilege
Protect credentials and state, distinguish sensitive from ephemeral values, and use provider-supported write-only inputs. Protect the …
- Advanced TypeScript for Frontend
Model real UI states safely with generics, discriminated unions, conditional types and runtime schema validation at API boundaries …
- Extending Kubernetes: CRDs, Operators and Admission
… a controller watches the desired state , compares it with the actual state , and acts to close the gap …
- TypeScript in Practice
… return ${state.data.length} users ; // data exists here ✅ case "error": return Failed: ${state.error} ; default: return assertNever(state …
- Scalable Frontend Architecture
… Keep state as close as possible to the code that changes it. 2. Make routes compose features; do …
- Event-Driven Patterns, Step Functions and Reliable Lambdas
… validate(event) perform operation with stable idempotency key(event.operationId) persist confirmed result or recoverable pending state() This …
- Scaling, Load Balancing & Rate Limiting
… Vertical vs horizontal scaling, load balancers, stateless servers, replication, sharding, rate limiting and resilience basics. The big idea …
- Which Pattern Do I Need?
… Facade simplifies many interfaces into one. Strategy vs State In Strategy the caller chooses. In State the object …
- React Internals & Concurrent Rendering
… unstable keys can cause lost input state, remounts and incorrect UI. Why a component re-renders A component …
- VPC Endpoints, Transit Gateway and Hybrid Networking
… Endpoint policies restrict what can be done through an endpoint: json { "Statement": [{ "Effect": "Allow", "Principal": " ", "Action": ["s3:GetObject …
- What Is Object-Oriented Programming?
… The remote keeps its own state (battery level, current channel) and gives you a few buttons to use …
- Dynamic Programming
… 1. State: dp[a] = fewest coins that make amount a . 2. Recurrence: dp[a] = 1 + min(dp[a …
- Flash Sale: 10 Million Buyers, No Oversell
… Return stock carefully, by checking its state Reservations expire if the buyer doesn't pay in time. But …
- Rust: Types, Errors and Concurrency
… String } type Db = Arc<RwLock<HashMap<u64, User ; async fn get user(State(db): State<Db , Path(id …
- Your First Terraform Project
… Cleanup applies only to resources in this root module's current state. What belongs in Git? Commit .tf …
- Design System Operations
… Document: - variants, sizes and long or translated labels; - loading, empty, disabled and error states; - keyboard and screen-reader …
- Authentication, Authorization & API Security
… orders of user 42 JWT (stateless tokens) A JSON Web Token carries the user's claims, signed by …
- Atomic Design & Component Libraries
… A button needs native semantics, keyboard behavior, focus visibility, and a disabled state. Prefer the browser's native …
- Indexes, EXPLAIN & Query Plans
… Let the database tell you which queries cost the most. Source What it gives you --- --- pg stat statements …
- SQL Language, Identifiers & Data Types
… Many systems call COMMIT and ROLLBACK transaction-control statements. Q7: Identity, sequence and UUID An identity/auto-increment …
- Interfaces vs Abstract Classes
… It has no code and no state . ts interface Notifier { send(to: string, message: string): Promise<void ; } interface …
- MVC, MVP & MVVM
… Model–View–ViewModel The ViewModel exposes observable state and commands . The View binds to them, so when the …
- Event-Driven Architecture
… Event-carried state transfer The data consumers need { type: "CustomerMoved", customerId, newAddress } Consumers keep a local copy and …
- Product-Scale Frontend Patterns
… Restore state and explain end Use it for small, reversible actions such as toggles. For money movement, inventory …