useFavicon is not dynamic
@sonali131 ya está trabajando en esto.
Desde el 7/8/2025.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 38/100
- Tipo de issue
- Error
- Claridad
- Bastante claro
- Estado de actividad
- Estancado
- Stack tecnológico
- react, typescript
- Área
- frontend
Línea de trabajo
Start with the useFavicon entry point and reproduce the behavior using the linked CodeSandbox, switching between the page with an override and the page that should use the default favicon. Trace how the app-level and page-level favicon values are updated and confirm that each switch shows the expected icon.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
What is the current behavior?
defining an app-level favicon, and a page level favicon, the override/fallback behavior doesn't work as expected. Sometimes when toggling, the favicon doesn't change at all. Sometimes it toggles but stays on that icon. It does not toggle/fallback the way I would expect
Steps to reproduce it and if possible a minimal demo of the problem. Your bug will get fixed much faster if we can run your code and it doesn't have extra dependencies other than react-use.
Codesandbox link to see the code. But click to open in a new tab here to actually see the favicon change behavior)
What is the expected behavior?
I expect when viewing page 1 (with a favicon override) it always has this favicon:

I expect when viewing page 2 (no override favicon) it should fallback to the default favicon:

A little about versions:
- OS:
- Browser (vendor and version):
- React:
react-use:- Did this worked in the previous package version?
- Lenguaje dominante
- TypeScript
- Estrellas
- 44k
- Forks
- 3.3k
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de streamich/react-use
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
-
Add Generic Fn for useDebouncePosiblemente ocupada @itsmejay80 la tomó hace 188 días. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 64/100
-
useVideo.story.tsx - sampleVideo can not be loadedQuizá libre de nuevo Un pull request para esta issue se cerró sin fusionarse. Abierto
Dificultad 1/5 Menos de una hora Aptitud para principiantes 62/100
-
useSlider: event callbacks are not updatedPosiblemente ocupada @erykpiast la tomó hace 1835 días. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
Todos los issues de streamich/react-use
Issues similares
-
community first-timers-only good first issue hacktoberfest help wanted low hanging fruit up-for-grabs
Dificultad 1/5 Menos de una hora Aptitud para principiantes 70/100
lingdojo/kana-dojo#32590 · 1 comentario · 5 reacciones ·
Los mantenedores suelen responder en 1 día
-
bug p2
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
bastani-inc/atomic#3703 ·
Los mantenedores suelen responder en 1 día
-
backend bug difficulty: medium priority: medium reliability
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
trustflow-protocol/trustflow-backend#730 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
firecrawl/firecrawl-mcp-server#548 ·
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 1/5 Menos de una hora Aptitud para principiantes 90/100
Los mantenedores suelen responder en 1 día