Skip to content

Latest commit

 

History

History
630 lines (392 loc) · 60.5 KB

GOVERNANCE.md

File metadata and controls

630 lines (392 loc) · 60.5 KB

React Router Open Governance Model

Overview

React Router has been around since 2014 largely under the development and oversight of Michael Jackson and Ryan Florence. After the launch of Remix in 2021, the subsequent creation of the Remix team, and the merging of Remix v2 into React Router v712, the project shifted from a Founder-Leader model to a "Steering Committee" (SC) model that operates on a Request for Comments (RFC) process.

This document will outline the process in which React Router will continue to evolve and how new features will make their way into the codebase. This is an evergreen document and will be updated as needed to reflect future changes in the process.

Design Goals

The following design goals should be considered when considering RFCs for acceptance:

  • Less is More. React Router has gained a lot of functionality in the past years, but with that comes a bunch of new API surface. It's time to hone in on the core functionality and aim to reduce API surface without sacrificing capabilities. This may come in multiple forms, such as condensing a few existing APIs into a singular API, or deprecating current APIs in favor of a new React API.
  • Routing and Data Focused. Focus on core router-integrated/router-centric APIs and avoid adding first-class APIs that can be implemented in user-land
  • Simple Migration Paths. Major version upgrades don't have to stink. Breaking changes should be implemented behind future flags. Deprecations should be properly marked ahead of time in code and in documentation. Console warnings should be added prior to major releases to nudge developers towards the changes they can begin to make to prep for the upgrade.
  • Lowest Common Mode. Features are added at the lowest mode possible (declarative -> data -> framework) and then leveraged by the higher-level modes. This ensures that the largest number of React Router applications can leverage them.
  • Regular Release Cadence. Aim for major SemVer releases on a ~yearly basis so application developers can prepare in advance.

Steering Committee

The Steering Committee will be in charge of accepting RFC's for consideration, approving PRs to land features in an "unstable" state, and approving stabilization PRs to land PRs that stabilize features into React Router.

The SC will initially consist of the Remix team developers:

In the future, we may add a limited number of heavily involved community members to the SC as well.

To reduce friction, the SC will primarily operate asynchronously via GitHub, but private and/or public meetings may be scheduled as needed.

Bug/Issue Process

Due to the large number of React Router applications out there, we have to be a bit strict on the process for filing issues to avoid an overload in GitHub.

  • All bugs must have a minimal and runnable reproduction 3
    • Minimal means that it is not just pointing to a deployed site or a branch in your existing application
    • Runnable means that it is a working application where we can see the issue, not just a few snippets of code that need to be manually reassembled into a running application
    • The preferred methods for reproductions are:
    • If StackBlitz/CodeSandbox is not an option, a GitHub repo based on a fresh npx create-react-router app is acceptable
    • Only in extraordinary circumstances will code snippets or maximal reproductions be accepted
  • Issue Review
    • Issues not meeting the above criteria will be closed and pointed to this document
    • Non-issues (feature requests, usage questions) will also be closed with a link to this document
    • The SC will triage issues regularly
  • Fixing Issues
    • The SC will mark good community issues with an Accepting PRs label
    • These issues will generally be ones that are likely to have a small surface area fix
    • However, anyone can work on any issue, but there's no guarantee the PR will be accepted if the surface area is too large for expedient review by a core team member

New Feature Process

The process for new features being added to React Router will follow a series of stages loosely based on the TC39 Process. It is important to note that entrance into any given stage does not imply that an RFC will proceed any further. The stages will act as a funnel with fewer RFCs making it into later stages such that only the strongest RFCs make it into a React Router release in a stable fashion.

Note

Most new community-driven features for React Router will go through all stages. Some features, if trivial or obvious enough, may skip stages and be implemented directly as a stable feature.

This table gives a high-level overview of the stages, but please see the individual stage sections below for more detailed information on the stages and the process for moving an FC through them. Once a feature reaches Stage 2, it will be added to the Roadmap where it can be tracked as it moves through the stages.

Stage Name Entrance Criteria Purpose
0 Proposal Proposal discussion opened on GitHub We start with a GitHub Proposal to provide the lowest barrier to RFC submission. Anyone can submit an RFC and community members can review, comment, up-vote without any initial involvement of the SC.
1 Consideration Proposal acceptance from 2 SC members The consideration phase is the first "funnel" for incoming RFCs where the SC can officially express interest in the more popular RFCs. We only require 2 SC members to express interest to move an RFC into the Consideration phase to allow for low-friction experimentation of features in the Alpha stage.
2 Alpha Pull request (PR) opened to implement the feature in an "unstable" state The Alpha stage is the next funnel for RFCs. Once interest has been expressed by the SC in the Consideration phase we open the RFC up for a sample PR implementation and a mechanism for community members to alpha test the feature without requiring that anything be shipped in a React Router SemVer release. This stage allows evaluation of the RFC in running applications and consideration of what a practical implementation of the RFC looks like in the code.
3 Beta PR approval from 2 SC members indicating their acceptance of the PR for an unstable API A RFC enters the Beta stage once enough members of the SC feel comfortable not only with the code for the beta feature, but have also seen positive feedback from alpha testers that the feature is working as expected. Once an Alpha stage PR has enough SC approvals, it will be merged and be included in the next React Router release.
4 Stabilization At least 1 month in the Beta stage and PR opened to stabilize the APIs. This PR should also include documentation for the new feature. The Stabilization phase exists to ensure that unstable features are available for enough time for applications to update their React Router version and opt-into beta testing. We don't want to rush features through beta testing so that we have maximal feedback prior to stabilizing a feature.
5 Stable PR approval from at least 50% of the SC members indicating their acceptance of the PR for a stable API A RFC is completed and enters the Stable stage once enough members of the SC feel comfortable not only with the code for the stable feature, but have also seen positive feedback from beta testers that the feature is working as expected. Once an Beta stage PR has enough SC approvals and has spent the required amount of time in the Beta stage, it can be merged and included in the next React Router release.

New Feature Stages

Stage 0 — Proposal

  • All new features begin at Stage 0 — Proposal when a Request For Comments (RFC) is written up in a GitHub Proposal Discussion
  • Anyone can write an RFC, including core team members and community members
  • The RFC should outline the use-case for the new feature, why current APIs are insufficient for the use-case, and provide potential API surfaces for the feature
  • The proposal should be clear, concise, and provide enough context for the Steering Committee (SC) and community to evaluate its merit
  • Community upvotes on the proposal are used as a signal of interest and demand for the SC — higher upvoted issues are more likely to be considered by the SC members
  • At this stage, community members may feel free to work on sample implementations in a fork of the repo and provide links in the RFC, but a pull request should not be opened until it reaches Stage 1

Stage 1 — Consideration

  • A proposal enters Stage 1 — Consideration when 2 SC members indicate interest/support for the idea as a valuable addition to React Router
  • These initial supporting SC members will be the champions for the feature and will be loosely responsible for shepherding the feature through the stages of the RFC process
  • At this stage, the proposal is eligible for a sample PR implementation from a core team or community member
  • The SC will indicate at this stage if this is a feature open to a community PR or something the core team would prefer to tackle
  • We will add the accepting-prs label to the RFC if we are open to community PRs
  • All PRs at this stage should implement the feature in an "unstable" fashion (usually using an unstable_ prefix on the future flag or API)

Stage 2 — Alpha

  • A proposal enters Stage 2 — Alpha once a PR has been opened implementing the feature in an unstable_ state
  • At this stage, we should open an Issue for the Proposal and add it to the Roadmap
  • We will remove any accepting-prs label and add the 🗺️ Roadmap label to indicate that this RFc is officially on the roadmap
  • At this stage, we are looking for early community testing before merging any work to the React Router repo — so these PRs should provide a mechanism for community members to opt into alpha testing
    • Maintainers can trigger an alpha release from the PR branch by adding the alpha-release label, which will kick off an experimental release and comment it back on the PR
    • Because the alpha release may contain other work committed to dev but not yet released in a stable version, it may not be ideal for testing in all cases
    • In these cases, PR authors may also add the contents for a .patch file in a comment that folks can use via patch-package or pnpm patch
  • Feedback from alpha testers is considered essential for further progress
  • The PR should also contain a changes file documenting the new API for the release notes
  • SC members will review and approve the PR via GitHub reviews
  • Approval at this stage communicates:
    • The feature is valuable for React Router
    • The API/code is sufficient for unstable/beta testing, though further iteration may be needed
    • Code is not required to be in a final state yet, but it must be coded in such a way so as not to introduce regressions to other areas of the API
    • We have seen enough positive feedback from Alpha testers to move the feature along

Stage 3 — Beta

  • A proposal enters Stage 3 — Beta once it receives Stage 2 — Alpha PR approvals from 2 SC members and is merged to dev
    • An SC member authoring the unstable_ PR counts as an implicit approval, so in those cases explicit approval is required from 1 additional SC member
  • This will include the feature in the next normal SemVer release for broader beta testing behind the unstable_ flag

Stage 4 — Stabilization

  • A proposal enters Stage 4 — Stabilization after a minimum of 1 month in Stage 3 — Beta and a PR has been opened to remove the unstable_ prefixes and stabilize the feature
  • Stabilization PRs should add proper documentation for the feature
  • SC members will review and approve the PR via GitHub reviews
  • Approval at this stage communicates:
    • Sufficient community feedback has been received from beta testers to trust the API's design and implementation
    • The code is production-quality and well-tested, with no related regressions
    • The PR includes documentation for the stable feature

Stage 5 — Stable

  • A proposal enters Stage 5 — Stable once it receives Stage 4 — Stabilization PR approvals from at least 50% of the SC members and is merged to dev
    • An SC member authoring the stabilization PR counts as an implicit approval
  • This will include the stable feature in the next normal SemVer release

Meeting Notes

This section captures the notes from the React Router Steering Committee meetings:

2025-09-23 Meeting Notes

Summary

Brooks announced the planned release of unstable framework RSC support in 7.9.2 and the fetcher.unstable_reset() API. Matt and Pedro discussed splitting Ryan's proposal for useRouteLoaderData type-safety to separate "router data" from "route data." Bryan and Matt reviewed the proposal for new instrumentation APIs. Matt and Jacob decided to close several issues related to ESLint configuration, OpenTelemetry, and module federation.

Details

  • 7.9.2 will contain unstable support for RSC framework mode as well as the fetcher.unstable_reset() API
  • The team reviewed the current instrumentation POC implementation:
    • RFC: #13749
    • POC PR: #14377
    • Current instrumentRouter/instrumentRoutes APIs should be sufficient for various implementations of logging/tracing layered on top
    • React Router docs can show simple examples of a few types of observability implementations (logging, OTEL, performance.mark/measure), but will lean on the community to provide packages for specific observability approaches
    • Jacob raised a good point about the design of the current APIs permitting more than instrumentation because folks could mutate existing handler parameters, so Matt is going to look into ways top provide a subset of read-only information that will prohibit this since it is not an intended use case and would likely be abused in unforeseen ways
    • Matt will also play around with potential instrumentation utils to see if it is worth shipping anything or just putting them in documentation
  • The committee reviewed and agreed to move forward 2 new RFCs to the "consideration" stage:
  • Matt will comment back on the ESLint issue to get it closed out and point to the OpenTelemetry issue to the new instrumentation approach
  • Pedro will start on the route stuff and try to get a PR up for it, once a PR is opened we will also get an issue on the roadmap
  • Jacob will check in with Zach about his interest in the current work w.r.t. module imports, and Matt will add a comment to the issue asking if it is needed and close it if there is no response in a week.
2025-09-08 Meeting Notes

Summary

Matt, Bryan, Mark, and Pedro discussed the progress of various features, including middleware, context, the onError feature, and RSC framework mode, with most nearing completion or already released. Matt and Bryan also explored the integration of observability and OpenTelemetry with Sentry and React Router, considering OpenTelemetry as a potential standard for JavaScript monitoring. The team decided to focus on current in-progress items instead of reviewing and accepting additional proposals because there are already 10+ proposals in-progress.

Details

  • Roadmap Review and Release Progress
    • Matt initiated the meeting by reviewing the public roadmap, starting with middleware and context, which are merged to dev and awaiting a pre-release for version 7.9.0
    • Bryan confirmed that the onError feature, released in 7.8.2, is working as expected and providing anticipated data
    • Mark noted that the RSC framework mode initial release will not be feature complete but is nearing completion, with the main remaining task being error handling during rendering (RFC)
  • Upcoming Features and API Discussions
    • Pedro discussed the useRouterState hook, noting that Ryan's attention is elsewhere, but they are interested in revisiting it for type safety and potentially replacing the useRouteLoaderData hook
    • Brooks and Pedro agreed that the useMatches API is problematic, especially concerning type safety, and suggested finding a solution that does not rely on it
    • We may be able to keep the distinction that hooks for use in data mode are less type-safe than the typegen equivalents in framework mode, so it might be ok for useRouterState().matches to be less type-safe than Route.ComponentProps["matches"]
    • RFC
  • Observability and OpenTelemetry Integration
    • Matt and Bryan discussed the observability feature, which aims to improve Sentry's integration with React Router Apps
    • Bryan explained that a strict event-based system would not support OpenTelemetry because OpenTelemetry requires bounding code execution within a span, unlike events which are instantaneous
    • They are considering whether React Router should fully embrace OpenTelemetry as it appears to be becoming a de facto standard for JavaScript monitoring, which could potentially replace the need for a separate event system
  • Meeting Wrap-up and Next Steps
    • Matt announced that the pre-release for version 7.9.0 would be shipped shortly, with the full release expected by the end of the week
    • Bryan confirmed that the duplicate loader issue fix will be included in this release
    • The team decided not to overload themselves with additional tasks, focusing on the current in-progress items

Action Items

  • Mark will work on stabilizing the split route modules and Vite environment API flags
  • Matt will read through the SvelteKit blog post to understand their approach to OpenTelemetry integration
  • Matt will merge the unstable fetcher.reset() work after 7.9.0 is released ()
  • Matt will try to pick up the <Link onPrefetch> task soon
  • Matt and Pedro will sync up offline to figure out what parts of the consolidated hook can be done better with typegen and decide on the requirements (RFC)
2025-11-04 Meeting Notes

The SC reviewed items on the open Proposal for React Router v8

  • Confirmed the plan to drop CJS builds for ESM-only builds
    • We will plan RR v8 for Q2 2026 which aligns nicely with the EOL for Node 20
    • v8 will have a minimum Node version of 22.12 so that the require(esm) feature is not behind an experimental flag
  • Going forward we will aim for a yearly major release in the same Q2 timeframe
  • We would like to try to get useRouterState into v8 as the other half of the unstable_useRoute coin
  • We think Subresource Integrity (SRI) is ready for stabilization but we would like to ping a few existing users and/or SME's to confirm the implementation is valid
  • Discussed the unstable_optimizedDeps feature, confirming it will remain unstable in V8 and then be pseudo-deprecated in favor of RollDown
    • There are some concerns about RollDown's full bundle mode limiting scalability so we may need to wait until rolldown is ready for testing
  • Decided against making "type-safe matches" an immediate V8 necessity due to the API churn
  • RSC implementation will not have a stable API ready for V8 but will be released in a minor version later
    • We will not be deprecating existing APIs at that time because not everyone should have to use RSC
  • Vite environment API and split route modules are nearing stabilization
  • Reviewed a new RFC to stop URL normalization in loaders
2025-11-18 Meeting Notes

Matt mentioned opening Pull Requests (PRs) to stabilize fetcher.reset and onError for client-side use

Stabilizing Fetcher Reset and Client-Side Error Handling

Matt mentioned opening Pull Requests (PRs) to stabilize fetcher.reset and onError for client-side use. For client-side onError, Matt made a change to align it with handleError on the server by passing the location and params to the error handler, with the goal of not holding off on stabilizing the API . Bryan suggested considering adding the pattern to the error information, which Matt agreed would be useful for filtering errors in Sentry.

Stabilizing Other Router APIs

Matt confirmed with Mark that both split route modules and the environment API are ready to be stabilized. The intent is to batch these stabilizations into a minor release. Other features like observability and a transition flag are still too new for stabilization

Opt-Out Flag for Custom Navigations

Matt discussed fast-tracking a flag to allow users to opt out of wrapping their own navigations in startTransition. This is needed because the current implementation has bugs related to navigation state not surfacing when custom navigations are wrapped in startTransition, particularly affecting useSyncExternalStore and causing minor tearing issues with search params. Matt mentioned we could fork off and ship the false (opt-out) version of this unstable flag quickly if needed.

Type-Safe Fetchers Discussion

The discussion moved to the highly-anticipated type-safe fetchers feature. Bryan suggested that the definition of a fetcher should be tied to a route at creation time, as fetchers resolve to a single handler (action or loader), where all the type signature glue happens . A challenge is resolving ambiguity when a path matches multiple loaders, such as a layout route and an index route.

Route ID vs. Pattern for Type-Safe Fetchers

The group debated using route ID versus the path pattern for identifying the route. Bryan and Jacob agreed that parameters should be accepted at the invocation site of the fetcher. Mark raised concerns that using route ID might require querying the full manifest, which could be problematic with "fog of war" architectures where only a small number of routes are known at runtime. They agreed to use the pattern instead, which doubles as the route ID in a sense and does not require querying the manifest for URL construction.

Proposed New Hooks for Type-Safe Fetchers

Bryan proposed splitting useFetcher into two separate hooks: useRouteLoader and useRouteAction, bound explicitly to a loader and an action, respectively. This separation is beneficial because a loader is primarily concerned with the GET method, while an action can handle multiple methods (POST, PUT, etc.). The new hooks would return an array with the state/data object and the imperative method (like submit or load), a pattern which Matt and Mark liked.

Streamlining State Tracking with React APIs

The conversation shifted towards aligning the new hooks with modern React APIs, especially those from React 19. Bryan suggested that the router could offload state tracking to userland by using React's useTransition and useOptimistic hooks, leading to a much slimmer abstraction. This would replace the existing fetcher.state (idle, loading, submitting) and fetcher.form.

Leveraging useActionState and Form Actions

Jacob noted that using an asynchronous function for a form's action would also allow for use of the useActionState hook from React, which can track the pending status of the form, further streamlining the API. This design would also enable the deprecation of fetcher.form in favor of a standard React form. However, the group noted that this approach would be for JS-supported forms and not progressively enhanced forms in an RSC world without JavaScript.

Call Site Revalidation Opt-Out

The group discussed the community PR for a call site revalidation opt-out, specifically the open question of whether a call site option like shouldRevalidate: false should override a route's existing shouldRevalidate function. Jacob and Bryan agreed with Sergio's recommendation that the call site option should set the new default value passed to the routes, essentially bubbling up, to avoid potential support headaches and data integrity issues that would arise from overriding all revalidation.

Naming Convention for Revalidation Opt-Out

Bryan suggested a minor design point to name the option passed to submit as defaultShouldRevalidate for consistency. Matt agreed with this suggestion. Default Route Revalidation Behavior Bryan and Matt discussed the implementation of a default setting for route revalidation, with Bryan expressing concern that people might misuse a hard bypass but agreeing that passing in a default allows the route logic to still determine the revalidation. Matt highlighted that this default would be an easy win for applications with many routes that need a common revalidation behavior, preventing the need to change fifty routes, while still allowing specific routes with their own logic to override the default. They agreed that the route should always be the final authority on revalidation.

Scope and Granularity of Default Revalidation

Jacob proposed setting a specific route default, perhaps for parent routes but not a view, for scenarios involving submissions, but Matt dismissed this, noting that routes already have a specific place for their logic in the route function. Bryan also suggested that more granular control would lead to excessive complexity. The team concluded that the default should not allow a function, as Jacob argued it should be derived from local state.

Implementation of 'default revalidate'

Matt confirmed liking the name "default revalidate" and determined that it should apply to all imperative hooks, including navigates and submits. Bryan and Matt agreed that having the routes maintain final control of revalidation makes sense on navigates. Matt mentioned that there is an existing Pull Request for this feature, which they plan to update.

2025-12-02 Meeting Notes

Meeting Status and Stabilizations

Matt shared that three stabilizations were pushed out: environment API future flag, split route modules future flag, and fetch error reset. Matt noted that onError would be in the next release after one last internal refactor to address potential double reporting issues in strict mode.

useRoute and Type-Safe Fetchers

Matt discussed the plan to complete the other half of useRoute, the useRouterState functionality, and treating them as a package deal for stabilization. Pedro agreed, emphasizing the need for the type-safe fetcher approach to be cohesive with useRoute before stabilization, to avoid having multiple ways of doing things if the ID-based approach is changed later.

Babel to SWC/Oxide Migration for Performance

Mark raised the proposal to switch from Babel to SWC/Oxide for speed improvements, noting that the stabilization of split route modules increases the amount of transformations happening in Babel. Pedro expressed support for making things faster but questioned the priority, as they have yet to see a real use case where Babel is the bottleneck, suggesting current HMR times are sub-40 milliseconds.

Performance Bottlenecks and Rollup Integration

Pedro explained that a larger architectural problem, the necessity of a full pass over all routes for manifest creation, contributes to performance issues, making the dev server launch time proportional to the number of routes. Mark clarified that Rollup speeds up the build, not dev, and Pedro suggested profiling to determine if Babel is truly the bottleneck out of the 50 milliseconds of overhead. Matt suggested involving the community for hard numbers and potentially waiting to see if Rollup with an AST pipeline API would alleviate the issue, which might necessitate rewriting transforms anyway. Matt asked Mark and Pedro to comment on the proposal, indicating interest but needing more evidence of the bottleneck.

Fetcher Error Handling and Imperative Usage

Discussion returned to an existing, highly voted proposal concerning fetcher error handling and completion. Matt noted that returning promises from fetcher.load and fetcher.submit partially solved the completion concern, but returning the data is still missing. The other main request is to prevent fetcher errors from triggering the route-level error boundary, for which Matt suggested an opt-in mechanism like don't bubble errors or a handle error option. Bryan argued that fetchers, being out-of-band network requests, should not bubble up to the route error boundary naturally.

Inline Action Approach for Fetcher Error Handling

The discussion moved towards an inline action approach for error handling, aligning with client loader mechanisms, as suggested by Jacob. Matt and Bryan considered how an inline handler could allow users to catch network errors and decide whether to return errors as data or throw. Sergio Daniel Xalambrí questioned whether these changes should be applied to the new type-safe fetchers (e.g., useRoute action) instead of evolving useFetcher. Matt and Bryan agreed that implementing this work within the new type-safe fetcher APIs, where submit would return data and reject on errors, seems like the most appropriate approach.

Route Masking/Rewrites for Modals

Matt introduced a resurfaced, high-priority proposal for route masking/rewriting, similar to Next.js's parallel/intercepting routes or Tanstack's route masking. This feature, previously available in declarative mode, allows rendering a modal over a background URL while maintaining a different URL in the bar. Matt suggested an API where the user provides the URL to be displayed in the URL bar, and the router navigates internally to a different URL, likely driven by search parameters. Mark and Bryan agreed that this seems coupled to client-side navigation for UX cases like job details over search results.

Server Rewrites and Client Router Synchronization

Sergio Daniel Xalambrí noted that people often ask for server rewrites, which in Next.js terms often means URL aliases where a path renders the content of another route, potentially with param rewriting. Matt concluded that true server rewrites are a separate feature but noted that implementing the client-side masking feature would close the gap on what is needed to synchronize rewrite logic with the client router, potentially unlocking future server-side rewrite capabilities. Matt intends to update the proposal and move it to the "accepting PRs" stage, noting that the implementation could draw on internals from V6.

Element Scroll Restoration

The last topic discussed was a high-voted proposal for scroll restoration on elements other than the window. Matt explained that a full userland implementation is not reliably possible because the router is the only one that truly knows the moment right before a view changes to reliably capture the scroll position. Matt plans to provide guidance and feedback based on previous PR discussions, hoping the community can finalize the implementation.

2025-12-16 Meeting Notes

Trailing Slash Consistency Bug Fix

Matt outlined a bug fix related to inconsistent request path names provided to the loader/action on data requests when a URL has a trailing slash. Matt explained that the solution, developed with Jacob, involves changing the format of the data request URL for trailing slash scenarios to resemble the _root.data format, which is being put behind a future flag due to potential breaking changes and cache rule implications. The new format will use /a/b/c/_.data when the URL is /a/b/c/.

Matt also noted that the future flag provides an opportunity to collapse the _root.data format into the new trailing slash format, resulting in two standardized formats for data requests in the future. Bryan asked for clarification on various URL and query parameter configurations, and Matt explained the distinction between the new trailing slash format and the use of the index query parameter, confirming that the new format will be opt-in and mostly non-breaking for users upon adoption

2026-01-22 Meeting Notes

Link Rewriting and Parallel Routes

Matt, Bryan, and Jacob discussed whether link rewriting can support use cases such as rendering a modal over another route while keeping the underlying page visible. Feedback from Unsplash highlighted a problem with relative links: it is unclear whether they should resolve against the URL in the address bar or the route being rendered. The group considered parallel routes as a way to give each view its own routing context and data loading, rather than trying to handle every case through URL rewriting. Bryan suggested treating parallel routes and URL rewriting as separate features, with rewriting potentially layered on later. Matt and Jacob will also explore whether query-only links can resolve against the visible URL as a smaller improvement to the current proposal.

Route Pattern Matching

Matt and Pedro discussed bringing a faster route pattern matcher developed for Remix 3 into React Router to address performance problems seen in large Shopify apps. Pedro proposed introducing it behind a future flag that translates existing routes.ts configurations into the new matcher internally, so applications could see the performance benefit without changing their route trees. The matcher would not support regular expressions or OR conditions in route patterns. Pedro suggested using path parameters with validation in loaders for more complex cases. He plans to finish testing and benchmarking the matcher before bringing it to React Router.

Loader Revalidation Requests

Bryan raised the need to distinguish revalidation requests from initial navigations in loaders for analytics and instrumentation. Matt noted that React Router does not currently expose this distinction because it could encourage loaders to return different data for the same route. Matt and Jacob discussed having the browser add a header to client data requests, which would make the information available without changing loader APIs or modifying requests on the server. They noted that applications choosing to vary responses based on that header would need to consider cache behavior, including Vary. Matt will continue the discussion with the committee and consider how it fits with the instrumentation work.

2026-02-03 Meeting Notes

Client Loader Batching

Matt described how a route with a client loader currently opts out of Single Fetch because the framework cannot know whether the client loader will call its server loader. This can create an extra request when the server loader is always needed. The committee favored an unstable, static batch: true option over a more complex runtime decision. Matt plans to release the flag in an alpha so the contributor who raised the issue can test it. The separate case of debouncing requests while search parameters change may be better handled with a resource route or UI-level debouncing.

Requests and Instrumentation

Matt proposed a future flag that passes the original request through to loaders and actions, along with a separate logical URL for code that needs the normalized route location. The group also revisited a request header for identifying revalidations. Bryan asked for route patterns and other information to be available to instrumentation after a navigation completes; Jacob suggested allowing instrumentation implementations to return structured metadata for that purpose.

RSC and Route Matching

Jacob proposed explicit server versions of RSC framework route exports, such as server components and layouts, so an error boundary could remain a client component when needed. Pedro outlined a first phase of route pattern integration that would translate existing route syntax internally. The group preferred the new matcher's deterministic specificity rules over carrying forward the existing route scoring system. They left the choice of default matcher and configuration details for further discussion.

2026-02-17 Meeting Notes

Release and Request Work

Matt discussed removing unused UI-agnostic rendering code and moving React Router releases from changesets to an automated publishing process. He also described progress on passing the original adapter request through to loaders and actions, with a separate normalized path available during migration. The committee paused the proposed revalidation header: one data request can contain both new and revalidating loaders, while listing route IDs in a header could make it too large.

V8 Planning and Location Cleanup

Matt and Brooks discussed a regular major-release cadence around May, aligned with the end of Node support cycles. They reviewed the remaining V8 work and expected RSC framework prerendering to continue after the initial V8 release. Bryan proposed an abort signal for the current location that could help applications clean up work when navigating away. Matt noted that it might also make element-level scroll restoration possible when a navigation has no loading state. The API needs further investigation.

Version Mismatches During Deploys

Sergio raised the risk of losing action form data when a new deployment causes a route-manifest version mismatch. The group explored rejecting mismatched action submissions with a recognizable response so applications could preserve state and decide how to recover, rather than always forcing a reload. They also discussed keeping React in a stable bundle across deployments and whether that could reduce the need for automatic reloads. No version-skew API was settled at this meeting.

2026-03-17 Meeting Notes

Route Manifest Performance

Matt described a performance problem in the server endpoint used for lazy route discovery: matching many paths repeatedly rebuilds route information. He and Jacob discussed caching the flattened route branches while considering development behavior and serverless deployments. Pedro's faster matcher may eventually address some of this cost, but the existing matcher needs attention in the meantime. Matt also reported a fix for escaping prerendered redirect HTML.

V8 and RSC

The committee discussed starting a V8 development branch for breaking changes, including ESM-only packages and dropping Node 20 support. Jacob offered to work on the ESM migration. The group considered React 19 as the minimum supported React version but planned to seek community feedback before deciding. Jacob reported that RSC Data mode was closer to stability than RSC Framework mode, where route module conventions, prerendering, and configuration still needed work.

Client Loader Batching

Matt revisited the proposed batching flag and noted that the build-time route manifest cannot currently see a flag defined at runtime. That gap can make prefetching a route with a client loader choose the wrong request strategy. The group considered statically analyzable configuration or parsing route modules earlier, while avoiding a broader configuration change just for this feature.

2026-03-31 Meeting Notes

Router State Updates

Matt, Bryan, and Jacob discussed how useRouterState should update without causing components to rerender for unrelated changes. Splitting navigation and location state into separate contexts might help, but Bryan and Jacob noted that updates in the root router could still rerender the tree. A subscription-based design would be a much larger change. Matt plans to test the actual render behavior before choosing whether the new hook should wrap existing hooks or become their shared implementation.

V7 and V8 Work

Matt planned to test the upcoming 7.14 release against the React Router website and organize the remaining V8 work with Brooks. Jacob discussed replacing dependencies that complicate ESM bundling, including cookie utilities. The group reaffirmed that V8 should ship ESM-only packages without CommonJS builds. They did not want the router-state hook to force a major change to React Router's state architecture in the current release.

2026-04-14 Meeting Notes

V8 Roadmap

Matt and Brooks reviewed the work needed for a V8 release targeted for late May. They planned to track stabilizations, deprecation warnings, dependency updates, and code cleanup on a shared board. The committee discussed moving to ESM-only packages, raising minimum supported versions of React and Vite, and removing old build paths where possible. They also decided to leave RSC and several less-tested flags unstable rather than rush their stabilization for V8.

Feature Stabilization

The group discussed stabilizing useRoute and useRouterState together, as well as the call-site default revalidation API and route masking. Subresource Integrity appeared close to stabilization after a community bug report had been addressed. The pass-through request flag needed more time before stabilization. Trailing-slash-aware requests would remain unstable because the behavior also affects prerendering and document requests.

Release Process

Matt described a new per-package change-file process to replace changesets. The team also planned installable preview builds for pull requests so users could test changes before release. They discussed offering fixed experimental releases for users who need a stable reference, rather than relying only on moving preview branches.

2026-04-28 Meeting Notes

V8 Release Work

Matt and Brooks reviewed the V8 roadmap board and agreed to finish V7 stabilizations and deprecation warnings before removing old code on the V8 branch. This order should reduce merge conflicts while both branches are active. They discussed using V8 prereleases to test the ESM migration, though the exact prerelease process was left for later. Brooks planned a V8 post explaining the project's growth, new features, and intended yearly major-release cadence.

Hooks and Trailing Slashes

Matt said trailing-slash-aware routing would remain unstable for V8 while the team worked through its effects on prerendering. Pedro and Matt agreed to hold the useRoute stabilization until useRouterState is ready so the two hooks can stabilize together. Matt expected the new router-state hook to be simpler after the earlier discussion about splitting router contexts.

View Transitions

The committee reviewed limitations in React Router's View Transitions API and considered how it should coexist with React's own implementation. Matt planned to check the React 19.3 timeline before deciding whether to remove the current API in V8 or deprecate it first and remove it in a later major release.

2026-05-12 Meeting Notes

Recent Fixes and Stabilizations

Matt reported recent React Router stabilizations, a fix to call-site revalidation behavior, and the merge of useRouterState for the next release. He and Jacob discussed correcting useFetchers by removing direct mutation of router state and memoizing its result. The change was treated as a correctness fix that could also avoid unnecessary effects. Matt planned to merge warnings for deprecated future flags after the week's release.

V8 Branch and Release Planning

Jacob planned to rebase the V8 branch onto dev to resolve conflicts. Matt proposed removing the long-standing split between main and dev to simplify CI and documentation, with Brooks updating the website's version links. The group discussed targeting mid-June for a stable V8 release after a prerelease period. Route pattern work was expected to follow as an unstable feature after the ESM migration, rather than block the initial V8 release.

Future Proposals

Bryan asked about a proposed “layers” primitive for composing multiple builds. Matt asked that the use cases and design be worked through in an RFC for consideration after V8. The group also discussed dependency and publishing-workflow security as part of release maintenance.

2026-05-26 Meeting Notes

Skills and Documentation

Brooks proposed moving React Router's agent skills into the main repository so users can find and maintain them alongside the project. The group discussed whether the CLI should include those skills in new apps by default, while leaving the exact installation experience open. Mark and Bryan emphasized keeping the underlying documentation useful to people as well as agents. The committee also favored shipping selected explanatory Markdown docs with npm packages and splitting large changelogs into version-specific files. They did not plan to include generated API documentation in those packages.

V8 and the Website

Matt reviewed the remaining V8 cleanup and dependency updates ahead of a prerelease. The group considered the implications of updating the React Router Serve adapter to Express 5, including changes to route matching and error handling. They also agreed to simplify the documentation website by sourcing released docs from version tags while retaining a way to read upcoming docs. This would remove the need to maintain separate main and dev documentation branches.

2026-06-09 Meeting Notes

V8 Release and Support Policy

Matt reported that the V8 prerelease had drawn few new issues and planned one more prerelease before targeting a stable release the following week. The team wanted more testing from applications using the prerelease. The V8 announcement would explain the project's community-led governance and ESM transition. The documentation would retain future-flag guidance while leaving the older “upgrading from Remix” guide with V7. The committee agreed to mark React Router V6 and Remix V2 end of life, except for possible critical security fixes.

AI-Generated Contributions

Matt and Jacob discussed the growing number of AI-generated pull requests and how to preserve useful community contributions while screening low-quality ones. They considered tooling that could flag likely automated submissions and a process for asking contributors to confirm human review before maintainers proceed. The group had not finalized a policy or chosen a tool.

2026-06-23 Meeting Notes

RSC and Route Patterns

With V8 released, Matt identified stabilizing React Server Components and integrating the faster route pattern matcher as priorities for the next phase. Route pattern work had been delayed by ESM and CommonJS compatibility concerns. The committee did not want to restore arbitrary regular-expression route matching because of performance costs. Bryan suggested a possible custom matching escape hatch, while Sergio and Mark raised parameter validation and typing needs. Matt planned to examine whether route patterns could cover those cases through coercion or constrained values before adding a new callback API.

Fetcher and Composition Proposals

The group revisited fetcher APIs that could handle completion and errors without useEffect and improve type safety. Matt described an inline handler approach and planned to compare existing proposals and community work before choosing an API. For a separate proposal to compose routes from multiple packages, Matt and Bryan asked for a small monorepo example to make the file and TypeScript behavior concrete.

Instrumentation

Matt proposed exposing information such as matched route details and response status to instrumentation handlers. Bryan supported making that information directly available so applications would not need custom middleware for basic reporting. The group also planned to monitor reports about the recently released full-bundle mode.

2026-07-07 Meeting Notes

Navigation Caching and Fetching

Jacob proposed making back and forward navigations use cached data so they remain fast even when normal cache headers would require another request. The group discussed an opt-in configuration to avoid changing existing behavior, along with how this would interact with a custom fetch implementation. They considered whether custom fetch should be configured globally or by route for use cases such as logging and request headers.

Streams, Route Patterns, and RSC

The committee considered restoring renderToReadableStream support for non-Node runtimes and eventually removing the translation between Node and web streams. Matt and Pedro planned to compare their route pattern work, including support for pathname-only patterns and more efficient route-branch caching. Jacob described the remaining work to stabilize RSC Framework mode, including manifest versioning and non-Node support. The React Router documentation site was discussed as a useful application for testing RSC in practice.

Router Hooks

The group continued reviewing useRoute and useRouterState before stabilization, particularly their TypeScript behavior and the shape of matched-route data. They did not settle those public APIs at this meeting.

2026-08-04 Meeting Notes

Routing and Performance

Matt reviewed a highly requested feature issue and concluded that the reported rerenders follow React Router's current relationship between location and loader data. The group favored explaining that behavior and pointing users toward profiling tools rather than changing the API based on that report. Matt also raised extra server requests during lazy route discovery. The committee considered build-time analysis and caching improvements, while Mark cautioned that an incorrect cache key could hide routes. Work on mapping existing route syntax to the new route pattern matcher continued behind a future flag.

V9 and Maintenance

The team opened a V9 discussion to collect future API proposals. Matt planned to make the newer readable-stream behavior opt-in while its runtime compatibility was evaluated, and to remove Prettier from runtime dependencies by moving TypeScript-to-JavaScript conversion to build time. They also discussed whether an open-redirect fix could be backported to the V6 maintenance branch and what release tooling that would require.

2026-09-01 Meeting Notes

Server Builds and SSR Configuration

Bryan proposed retaining the server build when SSR is disabled so applications can still use a custom fetch implementation and related server behavior. Matt agreed that deleting the build was not technically required. The group then considered how to represent hybrid applications that render pages statically but still serve data requests. They left the configuration design open, with an emphasis on avoiding changes to existing SPA Mode behavior.

RSC Stabilization

Matt and Bryan discussed authentication for RSC server actions, which do not currently run through route middleware in the same way as route handlers. Matt planned to review the security model with Jacob before stabilizing the feature. Brooks and Matt also discussed running the React Router website with RSC to test the framework against a real application. Matt reported work on reducing unnecessary rerenders and integrating the route pattern matcher with data routing.

Repository Automation

Matt demonstrated GitHub Actions workflows for issue triage and pull request review. The group discussed using these workflows to reduce routine maintenance work while keeping maintainers responsible for reviewing agent-generated findings and final decisions. They emphasized limiting workflow permissions and checking low-quality submissions without dismissing valid issues.

2026-09-15 Meeting Notes

V8.4 Routing Improvements

Matt reported that V8.4 shipped more granular router context updates to reduce rerenders and an opt-in route pattern matcher. He explained that the initial matcher increased bundle size substantially, so the implementation moved to a separate export that only affects applications opting in. The group hoped to get more production feedback before expanding the feature.

Hybrid Serving and Custom Fetch

Bryan described deployment cases that combine an API server with a static or prerendered client app. The committee agreed that React Router Serve should recognize these builds and serve them appropriately using information in the build manifest. Matt and Bryan also discussed a first-party data origin setting for custom fetch, since requests to another origin can otherwise break prefetching. Jacob suggested using React's preload APIs for resources. Matt planned to extend custom fetch with context about what triggered a request, which could help navigation tracing and cache behavior.

React APIs and Testing

Jacob proposed replacing some internal async rendering code with React 19 APIs, though the group left the release timing open. Matt noted limited feedback on recently shipped proposals and planned experimental releases for upcoming features so users could test them before a stable release.

2026-10-06 Meeting Notes

RSC Stabilization

Matt, Brooks, and Jacob discussed a goal of stabilizing RSC Framework mode by the end of the year. The unstable framework implementation was considered feature-complete, with broader application testing still needed. They discussed trying it on the React Router website and other real applications. Jacob wanted to review the public RSC Data mode API separately and proposed a simpler boundary in which RSC rendering returns a result for the HTML renderer rather than receiving a rendering callback.

Rolling Deployments and Route Discovery

Matt described how users can encounter repeated reloads when a rolling deployment serves mismatched client and server versions. He proposed storing versioned client manifests on a CDN so lazy route discovery can recover the manifest for the version already running in the browser. Jacob noted that RSC applications also need to reach the matching server deployment for loaders and actions. The group discussed future hooks that could let applications preserve user work before any required reload; the recovery design remained under investigation.

Framework Integration

Matt said the custom fetch and hybrid API backend work was nearing completion. Pedro raised requests for better coordination between React Router's Vite plugin and the official React plugin, particularly around when React Refresh should run after server updates. The team planned to gauge demand for plugin hooks and review pending Cloudflare Vite plugin compatibility work.

2026-10-20 Meeting Notes

Status Updates

Matt reported that v8.5.0 had shipped with three unstable features and the view transition deprecation. Mark was investigating coordination between React Router's Vite plugin and React hooks, and Matt planned to follow up on pending Cloudflare Vite plugin compatibility PRs.

RSC Application Testing and Server Actions

Brooks reported that the React Router website store was running with RSC on staging after correcting cookie-related Vary handling that caused duplicate prefetch requests. The group discussed simplifying the application by relying on the default RSC Framework entry files. They also reviewed a merged fix for document middleware responses being incorrectly decoded as RSC payloads. Jacob proposed a React Router configuration option to disable server actions for applications that do not use them, in the context of keeping React dependencies current with security fixes. The configuration shape and default remained open.

Await and Suspense Behavior

Matt reviewed work to use React's use internally in Await, including handling React thenables that are not native Promise instances. The group discussed retaining Await as a convenience API versus recommending use directly. A separate proposal to prime serialized promises before rendering aimed to avoid unnecessary Suspense fallbacks when applications update through external stores. Matt planned to investigate its performance cost and the affected application's use of transitions before proceeding.

Footnotes

  1. https://remix.run/blog/merging-remix-and-react-router ↩

  2. https://remix.run/blog/incremental-path-to-react-19 ↩

  3. https://antfu.me/posts/why-reproductions-are-required ↩