code-forge-io / code-forge-io/react-router-devtools
Severe memory leak in Linux
- Linguagem predominante
- TypeScript
- Estrelas
- 972
- Forks
- 55
- Métricas de merge de PRs
- Nenhum PR com merge em 30d
Descrição
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
Guia de contribuição
Nenhum guia de contribuição indexado para este repositório
Direção de pesquisa
Start with the vite.config.ts configuration and reproduce the memory growth on Fedora Linux 42 using react-router-devtools 5.0.6, comparing development runs with the devtools enabled and disabled. Use the reported Chrome or Firefox behavior to identify the leak; done means browsing no longer causes continued memory growth or a crash on Linux.
Escrita pelo modelo de indexação a partir do texto da issue.
Avaliação
- Stack de tecnologia
- linux, react, typescript, vite
- Domínio
- devtools, operating-systems, performance, tooling
- Tipo de issue
- Bug
- Dificuldade
- 4/5
- Tempo estimado
- 3-5 dias
- Status de atividade
- Estagnada
- Clareza
- Precisa de esclarecimento
- Facilidade para iniciantes
- 25/100