Remix
Open menu

Remix Newsletter #24

Hello Remix and React Router fans! Hope you're enjoying the fall season and prepping your waistlines for the upcoming holiday season.

As we're circling the release of React Router v7 we've started deprecating some old APIs and adding new ones to help make the upgrade process as smooth as possible. Plus, we've freshened up the React Router logo and have a few other resources to share. Let's dive in!

Remix v2.14.0 & React Router v6.28.0

The latest versions of Remix and React Router introduce a few deprecations and new features to help smooth the upgrade process to React Router v7.

  • Add support for routes.ts behind future.unstable_routeConfig flag to assist with the migration to React Router v7.
  • Deprecate @remix-run/eslint-config
  • Deprecate SerializeFrom
  • Deprecate json/defer utilities in Remix
  • Deprecate json/defer utilities in React Router

Read the full Remix changelog ↗

routes.ts in Remix

If you haven't seen already, we're improving how to configure routes in React Router v7. We will still have support for file based routing, however the default when using the Vite plugin will be config-based routing.

To help minimize the number of changes required when moving your Remix project over to React Router v7, we've added support for routes.ts and its related APIs in Remix behind a future flag. While some new packages have been introduced within the @remix-run scope, these new packages only exist to keep the code in routes.ts as similar as possible to the equivalent code for React Router v7.

To start leveraging this new API, you can enable the unstable_routeConfig future flag in your Vite config.

Next create a routes.ts file in the app directory. You can also use the flatRoutes function to continue leveraging Remix's built-in file system routing.

routes.ts example

Read the routes.ts upgrade doc ↗

React Router Brand Update

With the upcoming release of React Router v7, we figured it was a good time to look at our trusty old logo and see if there was anything we could do to freshen it up.

Staff Product Designer, Tim Quirino, shared in a post some of the history of the React Router logo and the process we took in determining a final design. From Tim's article:

the process is a reflection of the way the Remix team works. Far from being linear, this task meandered playfully without compromising detail and intentionality. Perhaps more importantly, it's a true evolution—one that allows us to be more flexible and creative about our identity—without losing sight of how we got here.

The new React Router logo showing what has changed

Read "React Router Brand Update" ↗

"How React Router Became a Framework" Talk

Mark Dalgleish, one of the Remix core team members, gave a talk at React Advanced 2024 about the evolution of Remix, React Router, and how the two projects have influenced each other and how we reached the point where we are today. If you're still unsure why we're moving the Vite plugin into React Router, or have a friend or colleague who is, this talk provides another helpful perspective on the journey we've been taking.

Watch "How React Router Became a Framework" ↗

Upcoming Roadmap Planning Livestream

In case you didn't know, every month co-founders Ryan and Michael host a livestream where they discuss recent and upcoming changes to Remix and React Router, as well as other packages, experiments, and ideas the team is working on.

This is a great opportunity to ask questions and learn more about what our team is working on. In our previous livestreams we've covered topics such as:

  • The React Router v7 pre-release
  • Some packages Michael has been working on
  • The upcoming "Reverb" project

​Join us Nov 12th (today!) for our next Roadmap Planning livestream ↗​

Connect at a Remix Meetup

Remix Meetups are run voluntarily by members of the community all around the globe with in-person and online options. These meetups feature local speakers, hackathons, workshops, and more!

Find a meetup near you ↗

Remix Meetups all around the world

No meetups near you? Reply to this email if you are interested in starting your own meetup. We've even created some guides to help you successfully start a Remix Meetup.

Starting a New Remix Meetup ↗

- The Remix Team

If you enjoy getting this email, please let us know! We'd love to hear from you, what you like about Remix and these updates, and any suggestions you have to improve them.