Technology

React & Next.js

Fast, SEO-friendly front-ends and full-stack web applications.

React and Next.js power the fastest websites on the internet — when used well. We've shipped everything from marketing sites to complex SaaS on this stack, and we know exactly where its performance comes from. This page is about the engineering underneath: what renders on the server and what runs in the browser, how much JavaScript reaches a mid-range phone, how a component mirrors itself for Arabic, and how a design system turns into code your own developers keep extending.

What we do

How we deliver React & Next.js.

Server-side rendering

Pages that arrive rendered — instant paint and full SEO indexability.

App Router architecture

Modern Next.js patterns: server components, streaming and edge-ready code.

Design-system UI

Component libraries with Tailwind and shadcn/ui for consistent, rapid builds.

Performance engineering

Bundle discipline, image optimization and caching for green Web Vitals.

Right-to-left in every component

Arabic and English from one component library, mirrored by the layout itself rather than by a second stylesheet patched on later.

Thin, honest front-ends

Prices, tax and business rules come from the API. The browser displays them; it never works them out for itself.

In practice

What this actually involves.

Rendering is decided page by page

Next.js lets each route choose. Pages that rarely change are built ahead of time; pages that must be fresh and indexable render on the server; only the genuinely interactive parts run as client components. The common mistake is marking everything as client code, which ships the whole application to the phone as JavaScript. Server components keep data fetching and heavy libraries on the server, and streaming sends the page shell before the slow data arrives.

Budget the JavaScript, not just the images

Every kilobyte of script must be downloaded, parsed and hydrated before a page responds, and third-party tags often outweigh the product itself. We set the budget with numbers in the first sprint and hold the code to it as it grows. The framework doesn't earn the score; the budget does. El Sewedy Digital carries 3D renders and motion and still scores 100% across all four Lighthouse categories.

Right-to-left belongs inside the component

Arabic runs about a quarter longer than English and mirrors the whole layout. In code that means logical properties (start and end instead of left and right), the direction set per locale on the document, and a decision for every icon: arrows and progress bars flip, logos and media controls don't. Components written this way from the start cost little; patching a finished English codebase comes close to rewriting its front end.

One URL per language, rendered on the server

A bilingual Next.js site should give each language its own route, its own metadata and its own sitemap entries, with alternate-language links pairing every page with its twin. Rendering the Arabic on the server matters: a crawler should receive Arabic HTML, not an English page that switches language after the scripts load. Use the visitor's language to suggest a switch, never to redirect them.

The design system lives in the repository

Our designers hand over named tokens; in a React codebase those become the Tailwind theme, so a brand colour or a spacing step has one definition the whole app reads. shadcn/ui supplies accessible building blocks as source files in your repository, restyled to your brand rather than overridden from outside. Each component exposes typed variants instead of ad-hoc class strings, and ships with its loading, empty and error states, so new screens are assembled from approved parts.

The browser shouldn't know your pricing rules

SG-Mart's web storefront and its iOS and Android apps are all clients of one commerce API. Pricing, tax and promotions live in that core, so all three show the same answer and a pricing change ships once. The front end asks and displays. It also owns the moment the backend can't answer: what a shopper sees when the ERP behind it is briefly unreachable should be an honest message, not an endless spinner.

What you get

Outcomes, not deliverables.

  • Google-friendly pages that load in under a second
  • One stack for the marketing site and the product
  • A codebase any React developer can pick up
  • Arabic and English from a single component library, each one correct
  • The repository in your organisation's account from the first commit
Straight answers

What you'll want to ask.

Next.js or plain React?

Next.js when pages need to be found on Google or feel fast on a first visit: server rendering, routing and image optimisation come built in. A single-page React app is fine for a tool that lives behind a login, where search doesn't matter and users come back daily. Many products need both, and Next.js can serve the two from one codebase.

We already have a React codebase. Can you work inside it?

Yes. Our engineers can join your standups and commit to your repository while your tech lead sets the direction, on a monthly rate; hourly work is $25–49, written into the quote up front. Or we take a defined piece on a fixed scope. Either way, the first sprint should end with merged code, not a reading list.

Our React app is slow. Do we need a rebuild?

Usually not. Measure first, then fix the heaviest few problems. The usual suspects are oversized images, render-blocking scripts, no caching and slow hosting; in React apps add everything rendered on the client, a few very large dependencies and third-party tags. Most get dramatically faster without a rebuild.

Can you add Arabic to our English Next.js app?

Yes, but get an honest estimate first. The cost depends on how much of the code assumes left-to-right: hard-coded margins, absolute positions, icons that point one way. We audit that, then add locale routing, logical properties, mirrored icons, an Arabic font and translated metadata. If direction is baked in everywhere, the job amounts to rebuilding most of the front end, and you should hear that before you start.

Will we be locked into one hosting platform?

No. Next.js runs on any Node.js server or container as well as on managed platforms, so hosting is chosen for the workload and the budget. Whatever we pick, the hosting and cloud accounts are in your name, and our access is something you can revoke.

Who owns the components and the design system?

You do, from the first commit. The repository sits in your organisation's account, and shadcn/ui components live there as source code you can edit, not as a dependency you can't open. We use mainstream tools and write down the decisions as well as the code, so a React developer you hire next year can carry on without calling us.

Let's talk about react & next.js.

Tell us about your product, timeline and goals — we'll get back within one business day.