Tags

Frontend

Frontend

0 lessons
1 behavioral interview
20 community items

frontend

Community

20 items
Article

Server Components vs Client Components: When Each Wins

Server Components are the new default; Client Components are for interactivity and state. The boundary between them is where most beginner Next.js bugs live.

react
frontend
performance
hooks

245

6

4.0 (10)

May 6, 2026

by @mianair

Article

State Management: Zustand, Redux, and Context Compared

Three options, three sweet spots. Zustand is my default for client state, Context for low-frequency tree-wide values, Redux only for the cases that earn it.

react
frontend
hooks
state-machine

952

23

Apr 28, 2026

by @folakemansour

Code Snippet

IntersectionObserver Batched With rootMargin

On a feed with 200 cards, creating one IntersectionObserver per card pushed our scroll frame to 14ms. This is the single shared observer with `rootMargin` prefetch and a batched callback that brought it back to 4ms.

JavaScript
intersection-observer
js-dom
performance
frontend

500

9

Apr 9, 2026

by @emmakim

Article

The Accessibility Checklist I Actually Use on Every PR

Accessibility is not a separate phase. It is a short list of checks you run on every PR. Skip them and you ship broken code; run them and you do not.

accessibility
frontend
html-accessibility
html-semantics

1.1k

6

4.2 (11)

Mar 29, 2026

by @niaosei

Article

Image Optimization on the Modern Web

Pick the right format, ship the right size, reserve the right space, and lazy-load below the fold. Most image perf wins live in the basics, not in fancy libraries.

frontend
performance
html-elements
html-media

1k

28

4.1 (11)

Mar 28, 2026

by @camilarao

Article

Core Web Vitals Without the Buzzwords

LCP, CLS, INP measure three real user-felt experiences: load, stability, responsiveness. Treat them as field truth, not Lighthouse scores to game.

performance
frontend
monitoring
html-elements

1k

17

4.3 (11)

Mar 14, 2026

by @sarahgarcia

Article

React useEffect: The Five Mistakes I Stopped Making

useEffect is for synchronizing with external systems, not for sequencing state. Five concrete mistakes I keep finding in PRs, with the fixes that replaced them.

react
hooks
frontend
debugging

962

7

4.3 (11)

Mar 10, 2026

by @yunatorres

Question Bundle
$12.99

The Frontend-Only Loop I Coach People Through

Five rounds I rehearse with frontend candidates: a DOM puzzle, a CSS layout, a state management drill, an accessibility audit, and a rendering performance question. JavaScript throughout, framework-agnostic where possible.

JavaScript
frontend
interview-prep
react
css-flexbox

978

5

4.3 (15)

Feb 28, 2026

by @diyaandersen

Article

SSR, CSR, SSG, ISR: Pick the Right One

Four rendering strategies, four cost profiles. Pick by data freshness and personalization needs, not by which acronym sounds most modern.

frontend
performance
react
system-design

788

25

4.3 (11)

Feb 20, 2026

by @sophiegarcia

Interview Experience

Frontend Engineer Loop at a Design-Centric Company

A 5 round frontend loop at a design-centric Series C SaaS. The CSS round, the rendering round, the design-system round, and what each one was actually grading.

frontend
css-flexbox
react
performance
interview-prep

166

2

4.3 (14)

Feb 10, 2026

by @theokone

Question Bundle
Free

The Airbnb System-Fit Questions I Prepped

Free set: four coding questions I rehearsed for a marketplace company's frontend loop. Every prompt is grounded in a real booking-domain object, because the interviewers grade modeling choices as much as code.

JavaScript
interview-prep
frontend
airbnb

647

9

4.3 (12)

Jan 27, 2026

by @mianair

Question Bundle
$12.99

JS Questions I Ask Senior Frontend Candidates

A 5-question screen I run on every senior frontend candidate. Each one has a junior answer that passes, a mid-level answer that almost passes, and a senior answer I am actually looking for.

JavaScript
interview-prep
frontend
closures
js-event-loop

218

1

4.5 (15)

Jan 14, 2026

by @rohanbakr

Code Snippet

Paste-Image-From-Clipboard Handler

When a user hits Cmd-V with a screenshot in their clipboard, we want to upload it as if they had drag-dropped. This is the 30-line paste handler I keep, including the Safari-only `clipboardData.items` traversal and a graceful HEIC fallback.

JavaScript
js-dom
frontend
code-template

956

28

4.2 (10)

Jan 14, 2026

by @rajreeves

Code Snippet

The 12-Column Grid I Keep, With Named Areas and Container Queries

I rewrote our marketing site grid three times before settling on this: a 12-column CSS Grid with named areas for the hero shape, container queries for the breakpoints, and custom properties for the gutter so designers can change one value.

CSS
css-grid
css-variables
code-template
frontend

1.1k

15

4.4 (13)

Jan 11, 2026

by @lucasmoreau

Article

useState Batching and the Stale Closure Trap

React batches state updates, and that interacts badly with closures over old state. The functional updater form fixes most cases, but knowing why is what saves the rest.

react
hooks
frontend
debugging

633

20

4.2 (9)

Dec 27, 2025

by @rinahassan

Question Bundle
$12.99

The Meta Frontend Loop Questions (2024)

Four utility-belt questions from a frontend loop at a large social platform in early 2024. They look like trivia but each one is graded on a specific edge case. Mine got me to round three.

JavaScript
interview-prep
frontend
meta

1.1k

23

4.5 (10)

Dec 16, 2025

by @davidmorgan

Code Snippet

A File Drop Zone Without a Library

The drop zone I keep instead of pulling in react-dropzone (60+kB minified): drag-over visuals, multi-file drops, folder uploads via DataTransferItem, and the Safari quirk where dragleave fires on every child enter.

JavaScript
js-dom
code-template
frontend
utility

323

1

4.4 (13)

Dec 6, 2025

by @isabellarashid

Article

The Browser Rendering Pipeline in Five Stages

Parse, style, layout, paint, composite. Knowing which stage your code blocks is what turns DevTools performance traces from noise into action.

frontend
performance
html-elements
css-positioning

974

26

4.4 (10)

Dec 3, 2025

by @omarbennett

Article

Debounce, Throttle, and the Difference People Miss

Debounce settles, throttle paces. The visual difference, the canonical implementations of both (with leading-edge and trailing-call variants), and the three edge cases that bite hand-rolled wrappers.

throttling
higher-order-functions
frontend
interview-prep
fundamentals

1k

22

4.1 (9)

Dec 3, 2025

by @nathanmurphy

Article

Flexbox vs Grid: Pick the Right Tool

Flexbox is one-dimensional layout, Grid is two-dimensional. Most layout battles end faster when you pick the right one before you start writing CSS.

css-flexbox
css-grid
frontend
css-responsive-design

868

4

4.3 (12)

Nov 27, 2025

by @arjunpatel