Skip to content
tezvyn:

Search

Find a bite, explore a topic or look for a role.

Results for React

Bites 747

Design Systems1 min read

Publishing a component to a private NPM registry

Configure package.json fields and scoped name, build dist, set registry auth, npm publish with access restricted.

Design Systems1 min read

The slots pattern for a PageLayout component

Slots are named insertion points so a layout owns structure while consumers fill header, sidebar, and main, via named props or compound subcomponents.

Design Systems2 min read

Decoupling Form state from its Field components

Form holds values, errors, and status in context, Fields self-register and read/write via a hook, validation composes per field.

Design Systems1 min read

Architecting global and local theming with context

A top-level provider supplies global tokens, nested providers merge local overrides, components read the nearest theme, often backed by CSS variables.

CSS & Design Systems1 min read

Bundling a component library for tree-shaking

Ship ES modules, mark sideEffects false, preserve named exports, and externalize peers so consumers tree-shake and code-split.

CSS & Design Systems2 min read

Packaging a design system as an npm dependency

Publish to an npm registry, with package.json holding the version, entry points, and dependencies, and version it via SemVer.

CSS & Design Systems1 min read

Controlled vs uncontrolled Modal component

Uncontrolled is convenient but inflexible, controlled gives parent full power and predictability, and a hybrid supports both.

Content & Copywriting1 min read

Design a personalized ad copy pipeline

Identify sources, choose batch versus streaming, generate and deliver copy via APIs.

Cloud Platforms1 min read

Diagnosing slow auto-scaled PaaS workloads

Application metrics like request latency, throughput, and DB query time; infrastructure metrics like CPU, memory, and scaling lag.

Cloud Platforms1 min read

Strangler Fig with serverless and an event bus

API Gateway acts as the routing facade, new features run as Lambda functions, an event bus decouples and fans out to new services, and traffic shifts feature by feature until the monolith…

Cloud Platforms2 min read

Publish/Subscribe Pattern

Publish/subscribe decouples senders from receivers: publishers emit messages to a topic without knowing who consumes them, and subscribers receive messages from topics they care about.

iOS & Swift1 min read

Request the user's location one time

Add a usage description to Info.plist, set a CLLocationManager delegate, request when-in-use authorization, call requestLocation, handle didUpdateLocations and didFailWithError.

iOS & Swift1 min read

How task cancellation works with async/await

Cancellation is a flag, not a kill; check Task.isCancelled or call checkCancellation, URLSession throws CancellationError automatically.

Docker & Kubernetes1 min read

Stalled rollouts and progressDeadlineSeconds

With maxUnavailable respected, the rollout pauses partway and old Pods keep serving; progressDeadlineSeconds marks the Deployment as failed after no progress for that window.

Design Systems1 min read

End-to-end process for a Modal props API break

Justify and design the change, additive rollout with deprecation, major release plus codemod, comms and adoption tracking.

Design Systems1 min read

Design systems across micro-frontends

Shared singletons and version alignment, token-based theming, distribution via shared scopes, stronger governance.

Design Systems1 min read

Architecting a federated documentation site

Docs-as-code with a manifest, CI publishing artifacts, a build that pulls and merges, unified deploy.

What is the difference between a Service and an Ingress?
CI/CD & Automation2 min read

What is the difference between a Service and an Ingress?

This tests L4 versus L7 networking abstractions. A good answer says Services load-balance to Pods internally while Ingresses route external HTTP to Services via a controller, then gives a path-based scenario.

Vue, Angular & Svelte2 min read

Angular Universal server memory leak: causes and diagnosis

Incomplete platform destruction, global DOM polyfills, unclosed RxJS; use heap snapshots and --inspect.

Why is Svelte called a 'disappearing framework'?
Vue, Angular & Svelte2 min read

Why is Svelte called a 'disappearing framework'?

Tests whether you understand compile-time versus runtime-heavy frameworks. A strong answer says Svelte compiles components to vanilla JS at build time, shipping a tiny runtime instead of a reconciler or virtual DOM. Red flag: claiming there is zero runtime.