MediBuddy

SSR migration · SDE II · Jan 2022 — Oct 2023 · 1 min read

Moved the frontend from class components to functional components and Next.js SSR.

The problem

The frontend was built with React class components and needed a move to modern patterns and server-side rendering.

What we did

  • Led the migration from class components to functional components.
  • Moved pages to Next.js server-side rendering.
  • Established modern patterns for the team to follow.

Result

SEO improved, bundle size went down, and the team had modern patterns to follow.

What I learned

  1. 01

    Migrations land when the new pattern is easier to follow than the old one.

  2. 02

    Move page by page; a big-bang rewrite stalls feature work.

Stack

  • React
  • Next.js
  • TypeScript

Want something like this for your business?