idyll-lang/idyll

Components emit dirty markup

Open

#628 aberto em 22 de abr. de 2020

Ver no GitHub
 (0 comments) (0 reactions) (0 assignees)JavaScript (97 forks)batch import
ComponentsRough Edgesbughelp wanted

Métricas do repositório

Stars
 (1.977 stars)
Métricas de merge de PR
 (Nenhuma PRs mesclada em 30d)

Description

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.

Guia do colaborador