Skip to content

[v7, framework] Fog of War throws error on manifest mismatch #13332

Closed
@leineveber

Description

@leineveber

I'm using React Router as a...

framework

Reproduction

Not sure if reproduction link is providable here

System Info

System:
    OS: macOS 15.3.2
    CPU: (10) arm64 Apple M1 Pro
    Memory: 1.53 GB / 16.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 22.4.0 - ~/.nvm/versions/node/v22.4.0/bin/node
    Yarn: 1.22.22 - /opt/homebrew/bin/yarn
    npm: 10.8.1 - ~/.nvm/versions/node/v22.4.0/bin/npm
    Watchman: 2024.12.02.00 - /opt/homebrew/bin/watchman
  Browsers:
    Chrome: 134.0.6998.45
    Safari: 18.3.1
  npmPackages:
    @react-router/dev: ^7.4.0 => 7.4.0 
    @react-router/express: ^7.4.0 => 7.4.0 
    @react-router/node: ^7.4.0 => 7.4.0 
    @react-router/remix-routes-option-adapter: ^7.4.0 => 7.4.0 
    react-router: ^7.4.0 => 7.4.0 
    vite: ^5.4.14 => 5.4.14

Used Package Manager

npm

Expected Behavior

RR7 doesn't throw an error of version mismatch.

Actual Behavior

Image

The problem is when user uses website and we deploy a new change, instead of just reloading the page, RR7 throws error -> user sees "Error" page from ErrorBoundary for 0.5 sec and then the page reloads.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions