Building Custom Operators in Apache Airflow
Learn to build custom Airflow operators from scratch with BaseOperator, hooks, templated fields, testing strategies, and packaging for reuse.
21 posts · page 1 of 1
Learn to build custom Airflow operators from scratch with BaseOperator, hooks, templated fields, testing strategies, and packaging for reuse.
Automate code quality checks with Git hooks. Set up pre-commit linting, pre-push testing, commit message validation, and manage hooks with Husky across teams.
Master React custom hooks with practical patterns for data fetching, form handling, debouncing, and more. Learn when and how to extract reusable logic.
Build custom Git hooks that integrate with CI/CD pipelines: server-side hooks, push-based triggers, branch protection enforcement, and automated deployment gates.
Compare Higher-Order Components and hooks in React with side-by-side examples, migration strategies, and guidance on when each pattern still makes sense.
Learn React's useOptimistic hook for optimistic UI updates: how it works, when to use it, rollback strategies, and real-world patterns with Server Actions.
Go beyond basic useTransition usage with patterns for search, navigation, tab switching, and priority-based rendering in React concurrent mode.
Learn how to test custom React hooks using renderHook from React Testing Library, covering state, effects, async behavior, and context.
Learn how to use React's Suspense boundaries and the use() hook to handle async data fetching with elegant loading and error states.
Learn how to use React's useActionState hook to manage form submissions, pending states, and server responses with clean, declarative code.
Learn how useRef works in React — DOM access, persisting values across renders, and common patterns that avoid unnecessary re-renders.
Automate checks before commits, pushes, and merges with native git hooks and the pre-commit framework. Keep your repo clean without slowing down.
Understand the difference between controlled and uncontrolled inputs in React, when to use each, and how to combine them with refs and form libraries.
When memoization actually helps in React: the difference between React.memo, useMemo, and useCallback, and how to avoid memoizing for no reason.
Compare render props and hooks as two ways to share reusable logic in React, with examples, mental models, and guidance on which pattern fits modern codebases.
A practical guide to using TypeScript generics in React components, hooks, and props for safer, more reusable building blocks.
Learn powerful patterns for building React custom hooks — extracting logic, composing hooks, handling cleanup, and designing clean APIs your team will love.
A practical deep dive into useState, useEffect, useMemo, useCallback, and useRef. Learn when to reach for each hook and the traps that ruin React code.
Avoid the most common useEffect mistakes — missing dependencies, infinite loops, stale closures, and effects that should not be effects in the first place.
Extract stateful logic into reusable custom hooks. The use-prefix rule, three examples (useLocalStorage, useDebounce, useToggle), tuple vs object return values, and how to test them.
A focused beginner's guide to React's two essential hooks — useState for component state and useEffect for side effects like data fetching, subscriptions, and timers.