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

Bug when working with expo router

Abierto
#724 1 comentario 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
25/100
Tipo de issue
Error
Claridad
Necesita aclaración
Estado de actividad
Estancado
Stack tecnológico
react-native, typescript
Área
mobile

Línea de trabajo

Comienza reproduciendo el informe con React 19.0.0 y React Native 0.79.5, usando dos sliders en una pantalla de stack y navegando fuera de ella y de vuelta mediante Expo Router. El issue no proporciona ningún proyecto reproducible, archivo, punto de entrada ni test, por lo que completarlo requeriría aislar la causa y añadir un test de regresión para el caso de navegación con dos sliders.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

bug report v6

Environment

  • react-native info output:
// react-native info
  • are you using the new architecture?

  • which version of react & react-native are you using?
    "react": "19.0.0",
    "react-native": "0.79.5",

Description

So I migrated to use expo router from react navigation. One of my pages have two sliders. Before, it was working fine. However, after the migration, when i press back button on that slider page, and then go back to that page via router.push (i am in a stack navigator), the slider with the bigger maximum value would take the value of the other slider. This is such a strange behaviour! Someone needs to fix this! Why are two sliders sharing the same state. I experimented with this and even when the two sliders is not using any states, but I just put constants into the value field, etc., this issue still persists. This is incredibly frustrating. I even tried isolating the two sliders, and to no avail. I tried changing the key, doesn't work.

Reproducible Demo

Read above

Lenguaje dominante
TypeScript
Estrellas
1.4k
Forks
296
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 callstack/react-native-slider

Todos los issues de callstack/react-native-slider

Issues similares

Más issues de TypeScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.