idyll-lang/idyll

Components emit dirty markup

Offen

#628 geöffnet am 22.04.2020

 (0 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)JavaScript (97 Forks)batch import
ComponentsRough Edgesbughelp wanted

Repository-Metriken

Stars
 (1.977 Sterne)
PR-Merge-Metriken
 (Keine gemergten PRs in 30 T)

Beschreibung

Describe the bug Some components emit markup like this: div idyll="[object Object]">... This happens due to using the {...props} syntax in the components' render functions.

Expected behavior The HTML should not contain idyll="[object Object]".

To Reproduce Just look at any page made with idyll, the default project works fine.

Contributor Guide