Passing a string to `style` causes error without helpful message
Offen
Dieses Issue hat noch niemand übernommen.
bug
P3
- Vorherrschende Sprache
- Python
- Sterne
- 24.4k
- Forks
- 2.3k
- Ø Merge
- 2 T. 7 Std.
- Gemergte PRs (30 T.)
- 13
Beschreibung
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.
Beitragsleitfaden
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Rechercherichtung
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.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- python, react
- Bereich
- frontend
- Issue-Typ
- Bug
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 35/100