Web Development

Frontend

Step-by-step articles on Frontend, part of our Web Development collection.

  • 40 articles
  • 41 min of reading
  • 4 sub-topics
  • 07 Oct, 2026 last updated

Showing 40 articles

ReactNew 1 min read

What's New in React 19: Actions, use() and More

React 19 is mostly about making async work, especially forms and data mutations, simpler. Here are the features you'll use most, with short examples. Actions An Action is an async function used in a transition. React tracks its pending state, errors and optimi...

07 Oct, 2026 Author 457 125
Read article
Modern CSS & TailwindNew 1 min read

Tailwind CSS v4: What Changed and How to Upgrade

Tailwind CSS v4 is a ground-up rewrite. The biggest change for day-to-day work: configuration moves from tailwind.config.js into your CSS file. Install with Vite npm install tailwindcss @tailwindcss/vite // vite.config.js import { defineConfig } from 'vite'; i...

06 Oct, 2026 Author 1.48K 30
Read article
ReactNew 1 min read

Form Actions and useActionState in React 19

Before React 19, a form needed state for values, errors, loading and the response. useActionState folds most of that into one hook. The signature const [state, formAction, isPending] = useActionState(actionFn, initialState); // actionFn(previousState, formData...

19 Sep, 2026 Author 220 95
Read article
React 1 min read

Optimistic UI in React with useOptimistic

When a user likes a post or sends a message, waiting for the server before updating the screen feels sluggish. Optimistic UI shows the result immediately and corrects it if the request fails. The hook const [optimisticState, addOptimistic] = useOptimistic(actu...

01 Sep, 2026 Author 693 115
Read article
React 1 min read

React Server Components Explained

React Server Components (RSC) render on the server and send their result to the browser, not their JavaScript. They can read databases and files directly, and they add nothing to your client bundle. Server vs client components Server Components (default in fra...

27 Jul, 2026 Author 1.09K 37
Read article
React 1 min read

Goodbye forwardRef: Refs as Props in React 19

Passing a ref to a custom component used to require wrapping it in forwardRef . In React 19, function components simply receive ref as a prop. Before and after // React 18 const Input = forwardRef(function Input(props, ref) { return <input ref={ref} className=...

21 Jun, 2026 Author 1.3K 103
Read article
Modern CSS & Tailwind 1 min read

CSS Grid Recipes: auto-fit, minmax and Subgrid

CSS Grid handles two-dimensional layout: rows and columns. These recipes cover most real-world layouts. Responsive cards without media queries .grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 1.5rem; } Columns...

19 Jun, 2026 Author 877 73
Read article
Modern CSS & Tailwind 1 min read

Scroll-Driven Animations in Pure CSS

Scroll effects used to mean scroll event listeners or IntersectionObserver. Scroll-driven animations connect a normal CSS animation to the scroll position, and they run off the main thread, so they stay smooth. A reading progress bar .progress { position: fixe...

14 May, 2026 Author 778 47
Read article
TypeScript 1 min read

any vs unknown vs never in TypeScript

These three types sit at the edges of TypeScript's type system and are often confused. Using the right one is the difference between real safety and false confidence. any: switch off checking let data: any = JSON.parse(input); data.user.name.toUpperCase(); //...

26 Apr, 2026 Author 397 49
Read article