tezvyn:

Learn tech in 5 minutes.

Five bites a day. Daily.

Tezvyn distills the latest in AI, frontend, backend, DevOps and system design into bite-sized cards. Read five a day on the app, or browse them all here on the web.

Free. No ads on premium content. Cancel anytime.

Browse by topic

All topics →

Recent bites

Vue, Angular & Svelte2 min read

Template syntax vs JSX: framework design trade-offs?

WHAT IT TESTS: understanding of language design choices and their implications. OUTLINE: templates (Vue, Angular) are declarative, easier to learn, enable static analysis; JSX (React, Solid) is code-based, flexible, familiar to JavaScript developers.

Vue, Angular & Svelte86 sec read

Server-side data fetching in Nuxt 3?

WHAT IT TESTS: understanding Nuxt's data fetching and SSR integration. OUTLINE: use useFetch or useAsyncData to fetch on server, data is serialized and injected into page state, component accesses it as reactive data.

Vue, Angular & Svelte2 min read

AOT vs JIT compilation: what does ahead-of-time win?

WHAT IT TESTS: understanding of compilation strategies and their trade-offs. OUTLINE: AOT compiles templates at build time (catches errors early, smaller bundle, faster startup), JIT compiles in browser (slower startup, larger bundle, flexible).

Vue, Angular & Svelte2 min read

Hydration: SSR HTML to interactive app?

WHAT IT TESTS: understanding server rendering and client takeover. OUTLINE: server renders HTML, client JavaScript bootstraps and attaches event listeners (hydration), mismatch occurs if server HTML differs from client render.

Vue, Angular & Svelte2 min read

Testing shared Vue components: unit, a11y, visuals?

WHAT IT TESTS: ability to architect comprehensive component testing. OUTLINE: unit tests (Vitest/Jest) for logic, accessibility tests (axe, Pa11y) for ARIA/keyboard, visual regression (Percy, Chromatic) for rendering.

Vue, Angular & Svelte83 sec read

Zone.js and change detection optimization in Angular?

WHAT IT TESTS: understanding Angular's async tracking and performance tuning. OUTLINE: zone.js wraps async (timers, events, HTTP), triggering change detection after each; use runOutsideAngular when external libraries fire high-frequency events.

Vue, Angular & Svelte2 min read

When to adopt Pinia or NgRx over simple services?

WHAT IT TESTS: judgment on when to add complexity. OUTLINE: services work for small apps; use Pinia/NgRx when state is shared across many components, mutations are complex, or debugging/undo matters. RED FLAG: premature adoption or dismissing stores entirely.

Vue, Angular & Svelte2 min read

Compiler vs runtime reactivity: Svelte, Vue, Angular?

WHAT IT TESTS: deep understanding of framework architecture choices. OUTLINE: Svelte compiles away reactivity (smaller bundles, zero-cost), Vue/Angular use runtime Proxies/zone.js (flexible but heavier).

Vue, Angular & Svelte2 min read

Compile-time vs runtime prop validation across frameworks?

WHAT IT TESTS: understanding of type safety mechanisms. OUTLINE: TypeScript (compile-time) catches errors before build; Vue props validation (runtime) catches at runtime; tradeoff: TS is stricter, Vue validation is flexible but less safe.

Vue, Angular & Svelte84 sec read

Content projection: slots vs props for composition?

WHAT IT TESTS: understanding of component composition models and when to use templating over data. OUTLINE: slots let parent pass markup (not data) to child, child renders it as-is, vs props pass values; slots excel when parent needs full layout control.

Vue, Angular & Svelte2 min read

Prerendering vs SSR in SvelteKit: trade-offs?

WHAT IT TESTS: understanding of build-time vs request-time rendering and its implications. OUTLINE: prerender generates static HTML at build, SSR renders on each request, prerender wins on speed but requires static data.

UX Research2 min read

How to sync eye-tracking data with DOM events?

WHAT IT TESTS: ability to fuse two real-time data streams with different timestamps and frequencies. OUTLINE: record gaze points with millisecond precision, map to DOM via bounding box lookup, correlate with click events via shared timestamp.