idyll-lang/idyll

Components emit dirty markup

Open

#628 aperta il 22 apr 2020

Vedi su GitHub
 (0 commenti) (0 reazioni) (0 assegnatari)JavaScript (97 fork)batch import
ComponentsRough Edgesbughelp wanted

Metriche repository

Star
 (1977 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

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.

Guida contributor