code-forge-io / code-forge-io/react-router-devtools

Error after upgrading from 5.1.3 to 6.0.0

Offen
#238 6 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
TypeScript
Sterne
972
Forks
55
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

Initial page loads and the dev tools are active, but seem buggy. For example if I click on the route diagram, it flashes the "real" diagram and then reverts to a single dot with "Root". As soon as I try to navigate, I get:

```
Application Error
TypeError: Cannot read properties of undefined (reading 'add')
at http://localhost:4200/node_modules/.vite/deps/react-router-devtools_client.js?v=e1651124:12939:44
at http://localhost:4200/node_modules/.vite/deps/react-router-devtools_client.js?v=e1651124:12941:5
at http://localhost:4200/node_modules/.vite/deps/react-router-devtools_client.js?v=e1651124:12941:5
at http://localhost:4200/node_modules/.vite/deps/react-router-devtools_client.js?v=e1651124:12941:5
at http://localhost:4200/node_modules/.vite/deps/react-router-devtools_client.js?v=e1651124:12941:5
at http://localhost:4200/node_modules/.vite/deps/react-router-devtools_client.js?v=e1651124:12941:5
at http://localhost:4200/node_modules/.vite/deps/react-router-devtools_client.js?v=e1651124:12941:5
at http://localhost:4200/node_modules/.vite/deps/react-router-devtools_client.js?v=e1651124:12951:13
at http://localhost:4200/node_modules/.vite/deps/react-router-devtools_client.js?v=e1651124:12929:5
at http://localhost:4200/node_modules/.vite/deps/react-router-devtools_client.js?v=e1651124:12932:7
```

Revert to 5.1.3 and everything works fine again.

React Router 7.10.1
Vite 7.2.7
React 18.3.1

Spa mode

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.