code-forge-io / code-forge-io/react-router-devtools
Severe memory leak in Linux
- Dominant language
- TypeScript
- Stars
- 972
- Forks
- 55
- PR merge metrics
- No merged PRs in 30d
Description
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
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.