code-forge-io / code-forge-io/react-router-devtools
Severe memory leak in Linux
- Lingua principale
- TypeScript
- Stelle
- 972
- Fork
- 55
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
We recently adopted `react-router-devtools` in my team.
`vite.config.ts`
```typescript
export default defineConfig({
plugins: [
process.env.NODE_ENV === "development" ? reactRouterDevTools() : undefined,
tsconfigPaths({ root: "./", projects: ["tsconfig.json"] }),
tailwindcss(),
reactRouter()
],
optimizeDeps: {
exclude: ["google-auth-library", "gcp-metadata"],
},
})
```
In development mode, **only in Linux**, browsing through my application leads to a rapid increase in memory use
in both **Chrome** and **Firefox**. Running the application without `react-router-devtools` leads to no issue, and using `react-router-devtools` in **MacOS** also leads to no issue.
After minutes of not interacting with the page at all, it crashes.
# System
Fedora Linux 42 (Workstation Edition)
# Packages
- react-router-devtools 5.0.6
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Valutazione
Questa issue non è ancora stata valutata.