<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/would-app-router-s-benefits-be-benefits-for-us-too--hha4crucf" -->

---
title: Would App Router’s Benefits Be Benefits for Us, Too?
description: A frontend engineer at Toss Bank details a working group's evaluation of migrating from Next.js Pages Router to App Router with React Server Components. After...
canonical: https://daily.dev/posts/would-app-router-s-benefits-be-benefits-for-us-too--hha4crucf
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Would App Router’s Benefits Be Benefits for Us, Too? | daily.dev
og:description: A frontend engineer at Toss Bank details a working group's evaluation of migrating from Next.js Pages Router to App Router with React Server Components. After...
og:url: https://daily.dev/posts/would-app-router-s-benefits-be-benefits-for-us-too--hha4crucf
og:image: https://api.daily.dev/og/posts/hhA4CruCf.png
og:image:alt: Would App Router’s Benefits Be Benefits for Us, Too?
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Would App Router’s Benefits Be Benefits for Us, Too?

**[SeyoungCho](https://daily.dev/sources/o3uczsadxc0iladsoh3rx)** · [@seyoungcho](https://daily.dev/seyoungcho) · 10 min read · 14 upvotes · 3 comments

## Summary

A frontend engineer at Toss Bank details a working group's evaluation of migrating from Next.js Pages Router to App Router with React Server Components. After testing streaming with Suspense, RSC bundle-size and data-fetching benefits, incremental migration, and community support, the team decided the costs outweighed the benefits and chose to stay on Pages Router. Issues found included WebKit paint delays, layout shift from mismatched skeletons, silent failures when using Client-only APIs in Server Components, a basePath double-prepending bug during incremental migration causing 404s, and slower-than-expected fixes for missing features like route pattern logging.

## Content

**_Originally published on the [Toss Tech Blog](https://toss.tech/category/engineering)._**

[_original post_](https://toss.tech/article/52999)

> Toss is a South Korean fintech super app, somewhat similar to Revolut, combining payments, money transfers, digital banking, investments, and insurance in a single app.

# Would App Router’s Benefits Be Benefits for Us, Too?

Hi, I’m Dayong Lee, a frontend developer at Toss Bank.

At Toss Bank, our frontend applications primarily use Next.js’s Pages Router. But Pages Router is now in maintenance mode: security patches and bug fixes continue, but new features don’t. Eventually, we would need to decide what comes next, and App Router and React Server Components (RSC) were the first options we explored. The ability to fetch data within individual components and show each part of a page as it becomes ready was appealing.

In the fall of 2025, a few of us who were interested in frameworks formed a working group. Together with my colleagues Hyungu, Jiwoo, and Hyunwoong, I tried migrating an actual service, and we met each week to discuss the roadblocks we encountered.

Our conclusion was to hold off on adoption. For our screens, the benefits didn’t outweigh the cost of migrating and maintaining the service while keeping it stable.

Here are the questions we worked through to reach that decision.

## Is Showing Content as It Becomes Ready Always Better?

Previously, we fetched all the data needed for server rendering in one place: `getServerSideProps`. Because it only runs at the page level, our implementation sometimes ended up refetching data we had already received successfully when just one API request failed.

With App Router, we could split data fetching across components and wrap each one in Suspense, letting each section appear as it became ready.

```
import { Suspense } from 'react';

export default function Page() {
  return (
    <>
      <Suspense fallback={<AccountSkeleton />}>
        <AccountSection />
      </Suspense>
      <Suspense fallback={<BannerSkeleton />}>
        <BannerSection />
      </Suspense>
    </>
  );
}
```

Most Toss Bank screens run inside webviews in the Toss app, with elements stacked in a single vertical column. We tested whether revealing sections independently would feel natural in this layout.

We added delays of one, three, and five seconds to three sections and recorded when the browser painted the screen. Since webviews generally use Chromium on Android and WebKit on iOS, we tested both engines.

![12.gif](https://media.daily.dev/image/upload/s--VzW7_XCx--/f_auto/v1789272845/ugc/content_d9992f8e-b7f1-4bb8-a06a-b7d42d6d5860?_a=BAMAMicg0)

First Contentful Paint (FCP) was 64 milliseconds in Chromium and 5,065 milliseconds in WebKit. WebKit delayed the first paint until the final section was ready. It uses a heuristic to decide whether there is enough content to paint, and delays caused by this behavior are also discussed in a [public issue](https://bugs.webkit.org/show_bug.cgi?id=252413).

There was a workaround. Adding an invisible SVG at the top of the page brought WebKit’s FCP down to 103 milliseconds. Both engines now started painting sections as they became ready.

But once content started appearing earlier, another problem became visible: skeletons and actual content had different heights. In a vertically stacked layout, an upper section growing taller pushed down the content users were already looking at below it.

![34.gif](https://media.daily.dev/image/upload/s--hxwAneXw--/f_auto/v1789272865/ugc/content_4a02dfdc-525a-4082-8b2b-95a7586a4db5?_a=BAMAMicg0)

Matching skeleton heights more closely to the expected content reduced the movement. Our layout shift score dropped from 0.138 to 0.036. Still, every new section needed its own loading UI, and every content change meant adjusting it again. The effort required to keep the screen stable outweighed the benefit of revealing smaller sections earlier.

## How Much Could We Actually Use RSC in Our Codebase?

We concluded that streaming would be difficult to use broadly, but that alone wasn’t enough to rule out App Router. RSC had benefits worth exploring even without streaming.

The biggest was bundle size. Server Component implementations, along with dependencies used exclusively by those components, are excluded from the client bundle entirely.

Another benefit was cleaner data-fetching code. Previously, we had to extract authentication information in `getServerSideProps` and pass it to server-side API functions. In App Router’s server code, those functions can read it directly with `headers()`. Authentication handling moves inside the data-fetching function. Just as the browser automatically sends cookies, callers on the server no longer need to manage authentication themselves.

However, `headers()` cannot be used directly in a Client Component—even while that component is being rendered on the server. Importing `next/headers` makes the file ineligible for the browser bundle, so branching with a conditional inside the same file didn’t work.

Our solution was to provide environment-specific implementations through a package. Conditional exports in `package.json` let us separate the RSC implementation from the client implementation while keeping the import path the same for callers. Here’s a simplified version:

```
{
  "name": "@example/http",
  "exports": {
    "./isomorphic": {
      "react-server": "./dist/isomorphic.server.js",
      "default": "./dist/isomorphic.client.js"
    }
  }
}
```

Only the RSC implementation reads authentication information with `headers()` and attaches it to the request. The browser implementation continues to work as before. Cookies are sent automatically, so there’s nothing extra to do.

```
// isomorphic.server.ts
import { headers } from 'next/headers';
import { serverHttp } from './server';

export const http = {
  async get(path: string) {
    const authorization = (await headers()).get('authorization');

    return serverHttp.get(path, {
      headers: { Authorization: authorization ?? '' },
    });
  },
};
```

```
// isomorphic.client.ts
export { clientHttp as http } from './client';
```

Now callers don’t need to know which environment they’re running in. A single query definition handles both prefetching on the server and fetching in the browser.

```
import { http } from '@example/http/isomorphic';

export const userQueryOptions = (userId: string) => ({
  queryKey: ['user', userId],
  queryFn: () => http.get(`/api/user/${userId}`),
});
```

This eliminated the need to write separate server-side code for every query. We initially saw it as a secondary benefit, but once we built and used it, the development workflow became noticeably simpler. We came to consider it just as valuable as reducing bundle size.

Still, introducing a component tree that runs only on the server brought challenges of its own. We had to keep track of where that tree ended and where code that runs in the browser began. Most of the costs we encountered came from managing this boundary.

First, there were fewer places to draw that boundary than we had expected. The screens we evaluated had many interactions that needed to run in the browser: buttons, inputs, and calls through the app bridge that lets the webview communicate with the native app. Much of the UI had to remain in Client Components. The main opportunity we saw for RSC was fetching data before rendering the screen. But if we waited for all that data before showing anything, the loading experience wouldn’t be much different from what we already had.

Another problem was that drawing the boundary incorrectly didn’t always produce an obvious failure. The app bridge was one example. It was designed to work without errors outside the app, so calling it from a Server Component would silently do nothing. No request reached the app, but no error appeared either. Simply migrating components wasn’t enough to uncover this. We also had to examine shared packages individually to see whether they behaved correctly in the new execution environment.

Server-side caching introduced another set of rules to learn. When storing user-specific responses in a cache shared across requests, the cache key must distinguish between users. Otherwise, one user’s response could be reused for another. We needed to understand which caches were shared and the scope of that sharing.

The request code became simpler, but learning and reliably managing these boundaries added work.

## Could We Migrate Gradually While Keeping the Service Running?

Next.js supports incremental migration: Pages Router and App Router can coexist, allowing teams to move one screen at a time. We planned to start with a few screens and evaluate the benefits and costs as we went.

But under a particular route structure, navigation between existing screens broke. With `basePath` configured, navigating between Pages Router screens caused `basePath` to be prepended twice.

```
// From a Pages Router screen
router.push('/a/a');

// Expected: /base/a/a
// Actual:   /base/base/a/a → 404
```

We narrowed down the conditions by changing the App Router configuration while testing the same navigation.

|App Router route configuration| Pages Router navigation result|
|---|---|
|Dynamic route sharing the same path prefix: `/a/[id]`|404|
|Static route: `/a`|Works|
|Dynamic route with a different path prefix|Works|

The client router uses a Bloom filter to determine whether the destination belongs to App Router. A Bloom filter saves space by allowing false positives, so it is used in situations where an incorrect match can be handled safely. Here, a match triggers a full page load. Since the server knows the actual routes, the correct screen should still appear even if the filter’s answer is wrong.

The problem was that the URL used for the full page load was incorrect. With `basePath` added twice, users were sent to a nonexistent URL and saw a 404. The fallback intended to handle an incorrect match was itself breaking navigation.

Tracing the code revealed that App Router’s `/a/[id]` route was registered in the filter as `/a`. The router checks successive prefixes of the destination path, so the Pages Router route `/a/a` also matched at `/a`. This wasn’t a probabilistic false positive. The way the route was registered made it match every time.

We also found why the prefix was duplicated. Pages Router adds `basePath` to the URL as part of navigation. When constructing the URL for the full page load, it added `basePath` again without checking whether it was already present. An issue describing the same type of problem remains open.

We had chosen to run both routers together to reduce migration risk. Yet this problem only occurred while they coexisted. The approach meant to make migration safer introduced a risk of its own.

## Does Widespread Adoption Mean Faster Fixes?

Even after encountering that problem, we weren’t too worried at first. With so many developers using the framework, we expected the features and fixes we needed to arrive soon.

But that wasn’t what happened for our needs. Logging was one example. Pages Router’s `router.pathname` returned a route pattern such as `/blog/[slug]`. We needed that pattern to group and aggregate logs by screen. App Router’s `usePathname()`, however, only returns the concrete URL path, such as `/blog/hello-world`. A PR to expose the route pattern was opened on October 29, 2025, and is still a draft at the time of writing.

The removal of `router.events` was another example. There were other ways to observe URL changes, but preserving the behavior we already relied on required building a separate package to fill the gap.

Widespread adoption didn’t mean our problems would be addressed first. The waiting—and the work needed to bridge those gaps in the meantime—was part of the cost of adoption.

## Why We Decided to Keep Pages Router

There were clear benefits. Our data-fetching code became simpler, for one. But the benefits available to us didn’t outweigh the cost of migration and ongoing maintenance.

So, for now, we decided to keep Pages Router and hold off on adopting App Router. As we evaluate other technologies, we’ll continue testing whether their strengths translate into benefits for our service, and whether we can manage the cost of adopting and operating them.

There are plenty more technologies to explore and decisions to make. If you’d like to help us work through those questions and find the right choices for our services, we’d love to have you join us at Toss Bank.

## Community discussion

Top comments from developers on daily.dev.

**@springtofigh** · 0 upvotes

> Yes, many App Router benefits likely apply to you, but whether they matter depends on your app and priorities. But as you mention in your post, it might not be worth switching. For example, if you have a large, stable app with many custom routes, or if third-party libraries you rely on are incompatible or not yet supported.

**@suarezlifestyle** · 0 upvotes

> You're using nextjs then wanting an app like experience, none of their routers will provide that. The best migration effort is to just create a router on top of plain react that handles this kind of experience you are going for, and also enables near native experience at the native app.

**@agustinbarrientos** · 0 upvotes

> That invisible SVG workaround is clever. I definitely wouldn't have guessed that one.

## Similar posts on daily.dev

- [6 React Server Component performance pitfalls in Next.js](https://daily.dev/posts/6-react-server-component-performance-pitfalls-in-next-js-0nalrupgs) · LogRocket · 6 upvotes · 0 comments
- [Upgrading a Next.js App Before Anything Breaks](https://daily.dev/posts/upgrading-a-next-js-app-before-anything-breaks-ac5rj93kf) · RUBYLAND · 0 upvotes · 0 comments
- [TanStack Router Does Something React Router Still Can’t. Most React Developers Haven’t Switched Yet.](https://daily.dev/posts/tanstack-router-does-something-react-router-still-can-t-most-react-developers-haven-t-switched-yet--xcnqmwuqy) · Medium · 8 upvotes · 0 comments
- [Issue \#479: React Router v8 is boring but good — React Status](https://daily.dev/posts/issue-479-react-router-v8-is-boring-but-good-react-status-bgq3o9ydm) · React Status · 4 upvotes · 0 comments
- [React Router gets another major](https://daily.dev/posts/react-router-gets-another-major-ka7fnafpk) · Bytes by ui.dev · 4 upvotes · 0 comments

---

Tags: [#react](https://daily.dev/tags/react), [#nextjs](https://daily.dev/tags/nextjs)

[View this post on daily.dev](https://daily.dev/posts/would-app-router-s-benefits-be-benefits-for-us-too--hha4crucf)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"DiscussionForumPosting","mainEntityOfPage":"https://daily.dev/posts/would-app-router-s-benefits-be-benefits-for-us-too--hha4crucf","headline":"Would App Router’s Benefits Be Benefits for Us, Too?","text":"A frontend engineer at Toss Bank details a working group's evaluation of migrating from Next.js Pages Router to App Router with React Server Components. After testing streaming with Suspense, RSC bundle-size and data-fetching benefits, incremental migration, and community support, the team decided the costs outweighed the benefits and chose to stay on Pages Router. Issues found included WebKit paint delays, layout shift from mismatched skeletons, silent failures when using Client-only APIs in Server Components, a basePath double-prepending bug during incremental migration causing 404s, and slower-than-expected fixes for missing features like route pattern logging.","url":"https://daily.dev/posts/would-app-router-s-benefits-be-benefits-for-us-too--hha4crucf","datePublished":"2026-09-13T04:16:34.075Z","dateModified":"2026-09-13T04:19:21.456Z","author":{"@type":"Person","name":"SeyoungCho","url":"https://daily.dev/seyoungcho","image":"https://media.daily.dev/image/upload/s---QniJFEK--/f_auto/v1724901542/avatars/avatar_O3ucZSadxc0iLADSOH3rX","interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"EndorseAction"},"userInteractionCount":10470}},"image":"https://media.daily.dev/image/upload/s--es6gNt-W--/f_auto/v1789272994/posts/hhA4CruCf?_a=BAMAMicg0","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":14},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":3}],"comment":[{"@type":"Comment","text":"Yes, many App Router benefits likely apply to you, but whether they matter depends on your app and priorities. But as you mention in your post, it might not be worth switching. For example, if you have a large, stable app with many custom routes, or if third-party libraries you rely on are incompatible or not yet supported.","datePublished":"2026-09-13T08:47:54.965Z","url":"https://daily.dev/posts/hhA4CruCf#c-yNO4ZeGQr","author":{"@type":"Person","name":"Spring Tofigh","url":"https://daily.dev/springtofigh","image":"https://avatars.githubusercontent.com/u/90114320?v=4"}},{"@type":"Comment","text":"You’re using nextjs then wanting an app like experience, none of their routers will provide that. The best migration effort is to just create a router on top of plain react that handles this kind of experience you are going for, and also enables near native experience at the native app.","datePublished":"2026-09-13T10:07:32.530Z","url":"https://daily.dev/posts/hhA4CruCf#c-v8bqjVjxB","author":{"@type":"Person","name":"Mateo Suarez","url":"https://daily.dev/suarezlifestyle","image":"https://avatars.githubusercontent.com/u/90749080?v=4"}},{"@type":"Comment","text":"That invisible SVG workaround is clever. I definitely wouldn’t have guessed that one.","datePublished":"2026-09-15T15:18:36.136Z","url":"https://daily.dev/posts/hhA4CruCf#c-Y2HmErCkU","author":{"@type":"Person","name":"Agustin Barrientos","url":"https://daily.dev/agustinbarrientos","image":"https://media.daily.dev/image/upload/s--5ayxQnqn--/f_auto/v1788281802/avatars/avatar_wQYYVe5Tbj0NJ7C7qPoa8?_a=BAMAMicg0"}}],"isPartOf":{"@type":"WebPage","url":"https://daily.dev/sources/o3uczsadxc0iladsoh3rx","name":"SeyoungCho"}}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"SeyoungCho","item":"https://daily.dev/sources/o3uczsadxc0iladsoh3rx"},{"@type":"ListItem","position":3,"name":"Would App Router’s Benefits Be Benefits for Us, Too?"}]}
```

