Service pillar
React and TypeScript developer
Plan React workSend me the repository and the problem.
Say what the front end does today, which stack and versions it runs on, what hurts (slow screens, bugs, missing types, no tests) and whether I would join a team or work alone.
- React18 and 19, Vite or a framework
- TypeScriptstrict mode, shared types
- QualityVitest, Playwright, a11y
- WordPressREST, WPGraphQL, Gutenberg
React developer for an existing codebase
Most React work that reaches me is not a new project. A product already exists, it makes money, and the team that built it has moved on or is too busy. I join as one contractor, read the code, and ship changes in small pull requests that your own people can review.
Typical codebases are single-page apps built on Vite or the older Create React App, B2B portals where customers place orders or download documents, admin panels on top of an internal API, component libraries shared by several products, and React widgets embedded in a WordPress site. I have worked on WordPress since 2006, so the back end that feeds your React app is rarely a mystery to me.
Move a React project to TypeScript strict
TypeScript earns its keep when strict mode is on. The strict flag switches on a family of checks, among them noImplicitAny and strictNullChecks, and the second one alone removes a whole class of undefined errors that otherwise reach users.
I migrate in steps that keep the build green. First allowJs and checkJs, so JavaScript files are checked without being renamed. Then file by file from .js to .tsx, starting with leaf components and shared utilities. Known holes get a ts-expect-error comment with a reason instead of an any, which makes them searchable later. Flags go on one at a time, and the lint rule against explicit any goes on last.
Types disappear at runtime, so API responses are validated at the boundary with a schema library such as Zod, and the same schema produces the type. A backend field that changes shape then fails in one named place.
React 19 upgrade and the move to Vite
The React team recommends going to React 18.3 first, because that release logs warnings for every API React 19 removes. I follow that route. The usual finds are ReactDOM.render and hydrate, propTypes and defaultProps on function components, string refs, legacy context and findDOMNode. Codemods published by the React team handle most of the mechanical part, and the rest is reading the diff.
The TypeScript side needs attention too, because the type packages change with the major version: ref callbacks, the global JSX namespace and a few hook signatures. From React 19, function components receive ref as an ordinary prop, so new code no longer needs forwardRef.
Create React App is deprecated, and the React documentation now points new projects to a framework or to a build tool such as Vite. Moving a CRA project to Vite means an index.html at the project root, VITE_ environment variable names, and a cleaner test setup with Vitest. I do this as its own pull request, never mixed with feature work.
Fix INP and bundle size in React
Interaction to Next Paint replaced First Input Delay as a Core Web Vital in March 2024, and web.dev treats 200 milliseconds or less at the 75th percentile as good. In React apps the slow interactions usually come from one of three places: a state change that re-renders a large tree, a long list rendered in full, or a synchronous task on the main thread.
I start with the React DevTools profiler and a performance trace, not with memoization everywhere. Fixes follow what the trace shows: moving state down to the component that needs it, startTransition or useDeferredValue for heavy updates, list virtualization, and splitting work so the browser can paint between chunks.
Bundle size is a separate pass. A bundle visualizer shows what ships, and the usual wins are route-level code splitting with React.lazy, one date or chart library instead of three, and imports that no longer pull in a whole package. For field data I use the Chrome UX Report or your own RUM, so the result is measured on real users. If the React front end belongs to an online store, the initial speed audit is free, written and without obligation.
React front end for WordPress and WooCommerce
A React interface on top of WordPress talks to it through the REST API, through WPGraphQL if the plugin is already installed, or through the WooCommerce Store API for products, cart and checkout. Cookie-based requests from the same origin need the REST nonce. A separate front-end domain needs token or application-password authentication and a deliberate CORS policy.
I keep a typed API client in one folder and cache with TanStack Query, so screens share data instead of refetching it. Preview of unpublished content, redirects when a slug changes and the 404 behaviour are decided with the editors, because those are the places where a decoupled front end usually disappoints.
If the whole site should run on this model, the better starting point is headless WordPress. For a front end that also needs server rendering, read the section on Next.js below.
React in Gutenberg blocks and the WordPress admin
WordPress ships its own copy of React and exposes it to plugins as wp.element. Blocks and admin screens are built with the official @wordpress/scripts toolchain, a block.json file for each block, and packages such as @wordpress/components and @wordpress/data. The build marks React and the WordPress packages as externals, so a block does not carry a second copy of React.
The parts that decide quality are the ones nobody sees in a demo: save output that stays valid between versions, block deprecations so old posts do not show the recovery prompt, server-side rendering for dynamic blocks, and editor styles that match the front end because the editor may load blocks in an iframe.
This is where WordPress experience and React experience overlap. When a block works for one editor and breaks for another, the cause usually sits in WordPress: user roles, a plugin that filters the editor, or saved markup from an older version.
Test React code with Vitest and Playwright
A React codebase without tests becomes expensive to change. I add tests where they pay back first. Unit and component tests run in Vitest with React Testing Library, querying by role and label, the way a user finds things, so refactoring markup does not break them. Network calls are mocked at the request level with Mock Service Worker.
Playwright covers the few journeys that must never break: sign-in, the main form, checkout or order placement. Its trace viewer makes a failing CI run readable without rerunning it locally. I keep this set small and stable on purpose, because a large flaky suite gets ignored.
If you already have Jest and Cypress and they work, I leave them alone. Switching tools is only worth a pull request when the old setup blocks something, for example when the move to Vite makes Jest configuration painful.
Accessibility in React interfaces
Accessibility problems in React apps are mostly the same few mistakes: clickable div elements instead of buttons, modals that do not trap or return focus, form errors that are not announced, and route changes in a single-page app that leave a screen reader user on the old page.
The fixes start with native elements and visible focus, then an eslint-plugin-jsx-a11y pass in CI, then automated checks with axe in Playwright, then a keyboard and screen reader walkthrough of the key flows. Automated tools catch only part of the problems, so I do the manual pass myself.
For products sold to EU customers the European Accessibility Act has applied to many consumer-facing services since 28 June 2025, and UK and Irish clients usually work to WCAG AA through the Equality Act in the UK and the EU rules in Ireland. I write down what was fixed and what remains, so your own legal or compliance people have a clear list.
Take over React code from a previous team
The first step is read-only. I clone the repository, run the install, build and tests, and write down what I find: how many TypeScript errors there are, which dependencies are far behind or no longer maintained, how large the bundle is, what the tests cover and what the deployment process really is.
You get that as a short written report with an order of work and an estimate for each item. Nothing changes in the code before you have read it and agreed. After that I work in branches and pull requests inside your repository, and a README for the parts that were only in someone's head.
If the previous team is still reachable for a few questions, that helps a lot, and I write the questions down in one email instead of many small ones.
React single-page app versus Next.js and Astro
A plain React single-page app is the right choice for an application behind a login: dashboards, portals and internal tools, where search engines do not need to read the content. When the pages must rank, or load fast for first-time visitors, a framework is the better answer.
Next.js fits when you want to stay in React and need server rendering, routing and data fetching in one framework, which is also the direction the React documentation gives for new projects. Astro fits content-heavy sites, where most pages are static and React is only used for the interactive islands.
If the real need is an iOS or Android app, see mobile app development: React Native lets a React team reuse its TypeScript skills and part of its code. I will tell you in the first reply if I think the project belongs in one of these instead.
How a React project runs
You send the repository link or a description by email, and I return a written scope: what I would change, in what order, and what is out of scope. Work on anything outside that scope is quoted separately before I start. Pricing is individual and depends on the code, so I do not publish a price list.
I work alone, remotely, as a sole proprietor on B2B terms. There is no team behind me, no round-the-clock cover and no repair-time guarantee. What you get is one person who knows your code, answers email within 24 hours on working days, and hands over work that your own developers can read.
At the end you have merged pull requests, notes on decisions that are not obvious from the code, and a list of what I would do next, if anything.
Frequently asked questions
Do you only start new React projects?
No. Most of the work is on existing code: new features, refactoring, performance, tests, upgrades and takeovers. I also start a new React project when it makes sense.
Can you convert our JavaScript React app to TypeScript?
Yes, gradually, so the build stays green. I begin with allowJs and checkJs, convert file by file, validate API responses at the boundary and switch on strict last.
Do you upgrade React 18 to 19?
Yes. I upgrade to 18.3 first to surface warnings, apply the official codemods, fix the TypeScript types and test the main flows before the version changes.
Can you fix a slow React interface?
Yes. I start from a profiler trace and field data, then fix what the trace shows: state placement, long lists, bundle size, long tasks. For an online store's front end, the initial speed audit is free and without obligation.
Do you build React interfaces on WordPress or WooCommerce?
Yes, through the REST API, WPGraphQL or the WooCommerce Store API, and as Gutenberg blocks and admin screens. I have worked on WordPress since 2006.
Do you work inside our team?
Yes, as one outside contractor, through your repository, branches and pull requests, remotely and in writing. I do not take calls, and I am not a team or an agency.
Explore other WordPress services and knowledge base
Stores, checkout flow, and sales logic.
Store outage, slow checkout, post-update chaos.
Ongoing WooCommerce care, monitoring, and uptime.
EU store checklist: VAT, accessibility, evidence pack.
White-label WordPress development for agencies.
WooCommerce sync with ERP and wholesale systems.
Business process automation around WordPress and company systems.
Library of concrete automation use cases.
Related categories
Supporting articles

Architecture for a WooCommerce catalog on Astro 7. What stays in wp-admin, which plugins die with the theme, Store API versus GraphQL, and why checkout stays on WooCommerce.

Google launched Universal Cart in Search and Gemini powered by the Universal Commerce Protocol (UCP). How to prepare WooCommerce for native AI shopping.

Lemon Squeezy stops processing payments on 31 March 2027. What changes when moving to Stripe Managed Payments (no license keys, digital delivery, storefront, affiliates, or PayPal subscriptions) and how to migrate to WooCommerce.
Related services
React and TypeScript front-end development for companies with an existing codebase: new features, TypeScript strict, performance, accessibility, tests and upgrades, remote and in writing.
Send me the repository and the problem.
Say what the front end does today, which stack and versions it runs on, what hurts (slow screens, bugs, missing types, no tests) and whether I would join a team or work alone.
Plan React work