Passing a string to `style` causes error without helpful message
Abierto
Nadie ha tomado este issue todavía.
bug
P3
- Lenguaje dominante
- Python
- Estrellas
- 24.4k
- Forks
- 2.3k
- Merge medio
- 2 d 7 h
- PR fusionados (30 d)
- 13
Descripción
I absent-mindedly passed a string to the style prop of html.Div and got a simple "Error loading dependencies..." result with nothing in the Python console and an obscure React error in the JS console. Would be nice to have something more helpful.
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.
Línea de trabajo
Reproduce the issue with a Python html.Div whose style prop is a string, then inspect the Python and JavaScript console output described in the report. Trace the style prop handling from the component entry point and make the resulting error explain that the prop value is invalid.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- python, react
- Área
- frontend
- Tipo de issue
- Error
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Estado de actividad
- Estancado
- Claridad
- Bastante claro
- Aptitud para principiantes
- 35/100