Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

useFavicon is not dynamic

Abierto
#2,486 1 comentario 0 reacciones 0 asignados Ver en GitHub

@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:
bob_ross

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

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

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de streamich/react-use

Todos los issues de streamich/react-use

Issues similares

Más issues de TypeScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.