# Remix vs Next.js

> Beyond this enticing title, the aim is to compare Remix, the soon-to-be-not-so-new framework from the creators of react-router and unpkg, and Next.js, which we’ve been actively using at the agency […]

Source: https://antistatique.net/en/blog/remix-vs-next-js

Category: Development

# Remix vs Next.js

Author(s)

[

![Yann](https://images.statique.ch/t/w_750,h_750,c_fill,f_jpeg,q_70/wp/app/uploads/2020/12/Yann-G-300x300.jpg)



](/en/agence/yann)

[Yann](/en/agence/yann)13 July 2023

Beyond this enticing title, the aim is to compare [Remix](http://remix.run), the soon-to-be-not-so-new framework from the creators of _react-router_ and _unpkg_, and [Next.js](http://nextjs.org), which we've been actively using at the agency for a number of years, from various angles. The idea is to understand the strengths and weaknesses of each in order to determine which types of project can benefit from one or the other.

## Disclaimer

It may seem obvious, but **this whole comparison is based on the current versions of Remix (1.18) and Next.js (13.4)**. Many aspects will probably continue to evolve over the coming months and make some comparisons totally obsolete, but that's all to the good.

Personally, I don't think there's ever been a better time to be doing JavaScript development than right now; all the solutions and frameworks on offer are excellent (even Angular), and they're all going to offer highly polished results and a great development experience!

## React at the centre

Before going any further, it's also important to point out that these two frameworks are built around [React.js](http://react.dev). Wanting to remain within this ecosystem for the time being, here's why we've chosen to pit Next.js against Remix, and not Nuxt or Sveltkit, which are no less interesting.

Since React is 'just' a library for managing user interfaces, these frameworks provide solutions for managing routes, rendering and server-side logic, and all the tools needed to run, build and deploy our application.

## The Remix philosophy

First of all, **it's about clearly separating server and client logic.** Unlike the early days of Next.js, with its _getInitialProps_ executed sometimes on the server and sometimes in the browser, Remix clearly marks the boundary between server and client by the names of the `xyz.client` and `xyz.server` files and by the methods exposed and used by the routes.

Secondly, Remix has a real desire **to be as close as possible to web standards**. On the one hand to avoid any adoption frictions, but also to be as consistent as possible. This applies to HTML attributes, the use of the [Fetch API](http://developer.mozilla.org/en-US/docs/Web/API/Fetch_API) on the server side and the way forms are managed.

Then there's the question of **using JavaScript wisely**: improving the user experience. Obviously, the entire language of our Remix application is in JavaScript (TypeScript ideally), but the JavaScript sent to the web user is intended to be as light and efficient as possible. And unlike Next.js, Remix gives us the option of disabling React hydration for one or more routes by simply `export const handle = { hydrate: false; };`.

Finally, Remix **favours minimum abstraction**. In general, this means keeping the terms as close as possible to the origin, as Next.js is also very good at doing.

## Remix in a nutshell

Now that we've put its philosophy into perspective, what does Remix offer?

To cut a long story short, **Remix is** :

-   A compiler (based on [esbuild](http://esbuild.github.io))
-   An HTTP server
-   An MVC server framework, which will leave the model to the developers according to the needs of the project
-   A client framework with the help of React

Remix offers project "**stacks**" or templates that include a preconfiguration of :

-   the database
-   deployment processes
-   the authentication system
-   tests
-   linters and TypeScript

## Router

Router

**The first big advantage of using Next.js or Remix is their routers**. At the time of writing (July 2023), Next.js has two _routers: the Page Router_ and the _App Router_. I won't go into detail here, but some comparisons will only be made with one or the other, and sometimes both. Now, the _App Router_ is still relatively new, so it's possible that I'm still missing some of its possibilities.

The important thing to remember is that **all these _routers_, including Remix, are _file-based_**, which means that the tree structure and file names will define the URLs (routes) of our application. Now, apart from a few differences in syntax, Next.js and Remix offer the same naming possibilities for generating dynamic route segments. Note, however, that version 2 of Remix offers the option of setting aside nested directories with a simple `.` profile in the file name to mark the hierarchy.

When it comes to the anatomy of a route, i.e. the file that will render our final page, the two frameworks work in a fairly similar way: exporting a default method for rendering and other methods to manage specific features. **One of the very well thought-out features of Remix is the export of loader methods for executing GET logic on the server side and action methods for executing POST, PUT, etc logic on the server side.** Next.js offers something similar with _getServerSideProps_ for GET logic in the _Page Router_ or _Server Actions_ for POST, PUT, etc logic in the App Router.

Remix also offers a _CatchBoundary_ and an _ErrorBoundary_ for interceptions. It's also very easy to redefine the _headers_, _meta_ and _links_ of a route by exporting them without going through a `_document.tsx` or `layout.tsx`, as in Next.js.

**Our two frameworks handle the revalidation of a route**; Remix with the _shouldRevalidate_ method, which must return a _boolean_, and Next.js with the _revalidate_ option in the _Page Router_ or the _revalidatePath_ method in the _App Router_.

## Components, Hooks, Utils

**Remix like Next.js will offer React components that will simplify the integration of certain mechanics.** Both will feature the equivocal _Link_ and _Script_ components. Remix will also offer _Await, Form, Links, LiveReload, Meta, NavLink, Outlet, PrefetchPageLinks_ and _ScrollRestoration_, but unlike Next.js, no _Image_ component.

Next.js already offers a few _hooks_, such as _useRouter_ and _useParams_, but Remix offers six times as many. Many are inherited directly from _react-router_, such as _useParams_ or _useNavigate_, and others are unique to Remix, such as _useLoaderData_ or _useActionData_. **What's great about this diversity is how easy it is to use these hooks.**

Finally, like Next.js, Remix offers _utils_ for managing things like _cookies_ and redirects. Each has its own subtleties.

## In conclusion

You've jumped straight to this chapter, so much the better - here's which framework to choose for your project. In themselves, **both offer a very similar approach and functionality, as well as a very good development experience.**

**The first decisive point is the ability to perform Static Site Generation (SSG)**, which Next.js is capable of doing with its Page Router. It enables pages to be pre-generated and revalidated (rebuilt) on demand. Remix is not positioned in this way; rather than generating pages, it encourages you to rely on the performance of distributed systems. Now, if you want to make a showcase site or a blog with SSG, Remix isn't for you (unlike [Astro](http://astro.build) 🤫).

With that in mind, it's easy to see why **Remix is aimed at more application-oriented projects** in the same way as Next.js' _App_ _Router_.

Apart from that, **the second and final determining factor will lie in personal preference** between the philosophy, syntax and subtleties of Remix or Next.js. Get your hands dirty and choose the one that speaks to you most for developing your application. Either way, you're not going to make a bad choice!

## More articles

Author(s)

[

![Anthony](https://images.statique.ch/t/w_750,h_750,c_fill,f_jpeg,q_70/wp/app/uploads/2024/11/anthony-1-300x300.png)



](/en/agence/anthony-salamone)

[Anthony](/en/agence/anthony-salamone)28 September 2026

### [Smashing Conference Freiburg 2026](/en/blog/smashing-conference-freiburg-2026)

Back in Freiburg for Smashing Conference 2026: AI and design systems, deeply technical CSS and HTML, and more human talks about teams and mindset. Here's what we took away.

Back in Freiburg for Smashing Conference 2026: AI and design systems, deeply technical CSS and HTML, and more human talks about teams and mindset. Here's what we took away.

[

![Smashing Conference Freiburg 2026 poster](https://images.statique.ch/t/w_750,h_500,c_fill,f_jpeg,q_70/assets/blog/smashing-2026.png)



](/en/blog/smashing-conference-freiburg-2026)

Author(s)

[

![Akira](https://images.statique.ch/t/w_750,h_750,c_fill,f_jpeg,q_70/wp/app/uploads/2025/03/akira-small-300x300.jpg)



](/en/agence/akira-kamata)

[Akira](/en/agence/akira-kamata)22 July 2026

### [Making of : “La nuit des Losers”](/en/blog/making-of-la-nuit-des-losers)

lanuitdeslosers.ch, built fast: paper wireframes, a bold hand-drawn identity, then Claude Code to prototype and ship. A mouse-tracking hero animation, a bowling game made of sponsor logos, and a few bugs we’re keeping.

lanuitdeslosers.ch, built fast: paper wireframes, a bold hand-drawn identity, then Claude Code to prototype and ship. A mouse-tracking hero animation, a bowling game made of sponsor logos, and a few bugs we’re keeping.

[

![Making of : “La nuit des Losers”](https://images.statique.ch/t/w_750,h_500,c_fill,f_jpeg,q_70/wp/app/uploads/2026/05/La-nuit-des-Losers-Teaser-1-768x576.png)



](/en/blog/making-of-la-nuit-des-losers)

Author(s)

[

![Pierre](https://images.statique.ch/t/w_750,h_750,c_fill,f_jpeg,q_70/wp/app/uploads/2020/12/Pierre-300x300.jpg)



](/en/agence/pierre)

[Pierre](/en/agence/pierre)7 July 2026

### [Dark mode: necessity or trend](/en/blog/dark-mode-necessity-or-trend)

Nous faisons le tri entre idées reçues, réalités techniques et bonnes pratiques de design.

Nous faisons le tri entre idées reçues, réalités techniques et bonnes pratiques de design.

[

![Dark mode: necessity or trend](https://images.statique.ch/t/w_750,h_500,c_fill,f_jpeg,q_70/wp/app/uploads/2026/07/1-768x384.png)



](/en/blog/dark-mode-necessity-or-trend)
