Three changes in 2026 land directly on a site's speed and quality: React Server Components and Next.js 16, which cut the JavaScript shipped to the browser; INP, which replaced FID in Core Web Vitals and measures responsiveness to every interaction; and browser APIs such as View Transitions and Speculation Rules that give app-like feel without a library. For a bilingual or right-to-left site, logical CSS and a variable font matter as much.

Why the framework question matters to the business

Speed has two direct effects: Google uses Core Web Vitals in ranking, and a mobile visitor on a slow connection abandons a page that stays blank. The framework determines how much JavaScript reaches the browser and how soon the page is usable. The wrong choice produces a site that looks good in a demo and stays white for four seconds on a mid-range phone. We rebuilt idepoo.com in 2026 against exactly that measure.

React Server Components and Next.js 16: what really changed

Up to React 18 every component ran in the browser; even a static list shipped its JavaScript. With Server Components, stable in React 19 since December 2024, a component can run only on the server and send its rendered output without code. The consequences:

  • Less JavaScript. In our rebuild, content pages render with almost no client-side JavaScript; only the forms and the menu are interactive.
  • Direct data access. A server component reads the database or the CMS directly; no API layer is needed for display.
  • Streaming. Ready parts arrive first; the reader sees the heading and the text while the related-articles list is still on its way.

Next.js 16 pairs this with Turbopack as the default build and a more explicit caching model. The cost: a new mental model (what is server, what is client) that the team must learn, and a cache that shows stale content if it is not managed. We added a rule to our deployment routine after the rebuild: after every cache purge, verify twice, because the first response can still be the old one.

Astro and the islands model for content sites

For a corporate site, a blog or a product showcase with little interaction, Astro is the simpler approach: everything is static HTML, and only interactive "islands" (a form, a search box) receive JavaScript. It works with any component framework. If a site has no user panel and no client-side logic, Astro usually ends up lighter than Next.js. We chose Next.js for idepoo.com because the content admin, the CRM-connected forms and the price estimator live on the same project; for a simple corporate site, Astro is our first option.

Core Web Vitals in 2026: INP replaced FID

Since March 2024 Google's responsiveness metric is INP, not FID. FID measured only the first interaction; INP measures the worst latency between a user's input and the page's response across the whole visit. The thresholds:

  • LCP (largest contentful paint): under 2.5 seconds
  • INP (interaction to next paint): under 200 milliseconds
  • CLS (cumulative layout shift): under 0.1

INP is precisely where JavaScript-heavy sites lose: a menu that opens late, a filter that freezes the page for half a second. The fix is usually removing work from the interaction path, not a faster server. In every performance audit we measure INP separately on a mid-range phone; Building for Iranian network conditions covers the network side of the same problem.

Four browser capabilities that give quality for free

  1. View Transitions. Smooth animation between pages without a library. Supported in Chrome and Safari, with Firefox adding support more recently. Where a browser lacks it, navigation is simply ordinary, so there is no risk.
  2. Speculation Rules. Tell the browser to prerender the page the user is likely to click next; the next navigation is near-instant. For a site with a predictable path (list to detail) the effect is obvious.
  3. Container queries. Styling based on the container's size, not the viewport's. A product card that looks right in a narrow and a wide column without a maze of media queries.
  4. text-wrap: balance and CSS nesting. Headings without a lone last word, and cleaner CSS without a preprocessor. Small, but the difference between professional and amateur lives in details like these.

Right-to-left, fonts and digits

  • Logical CSS properties. margin-inline-start instead of margin-left, so layout mirrors automatically when direction changes. Our bilingual site is correct in both directions by this rule alone.
  • A variable font. One variable font file instead of four weights, subset to the glyphs actually used, with a sensible font-display. Fonts are the largest optimisable asset on most Persian and Arabic sites.
  • Digits. A deliberate decision between native and Latin digits, applied consistently across prices, dates and phone numbers.
  • Line height. Persian and Arabic text below a line height of about 1.7 tires the reader. These decisions are made once, in the design system.

Images and CDNs across markets

  • Formats: AVIF and WebP in multiple sizes for every image; the original is never served.
  • CDN choice: for an Iranian audience a domestic CDN has lower latency than a global one and keeps the site up during international disruptions; for a European audience the reverse. A bilingual site accounts for both.
  • Browser caching: images and fonts with long cache headers and versioned file names. A one-line web server setting that most sites lack.

What to choose

  • Corporate site or blog without a user panel: Astro, or Next.js with server components; the target is near-zero JavaScript on content pages.
  • A shop with filters and a complex basket: Next.js with server components for listings and limited interactive components; INP under 200 on a mid-range phone is the acceptance criterion.
  • Admin panels and internal software: React with Vite is enough; SEO is irrelevant and interaction speed matters more than first load.
  • An existing WordPress site: before migrating, fix images, fonts and plugins; most WordPress slowness lives in those three.

Should we rewrite in Next.js 16?

If the current site has green Core Web Vitals, no. If it is red because of heavy JavaScript, a rewrite on server components is usually cheaper than piecemeal optimisation. Measure first.

Do view transitions work everywhere?

No, but where they do not, navigation falls back to normal. That is why they carry no risk, and we enable them by default on new builds.

Does a variable font really reduce weight?

Usually one file of 100 to 150 KB replaces three or four, and subsetting reduces it further. The effect on mobile LCP is direct.

Summary

The 2026 platform has one direction: less work in the browser, more on the server and in the browser engine itself. Server components cut JavaScript, INP forces responsiveness to be taken seriously, and View Transitions and Speculation Rules deliver quality without a library. For a bilingual site, logical CSS, a variable font and the right CDN complete the picture. If you want to know where your current site stands, our technical audit measures exactly these on a mid-range phone.

Sources