forked from developit/vhtml
-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Any reason why output strings are also iterators? Why can't they just be normal JavaScript Strings?
This breaks the API of vhtml.
This is the output I've got when I console log the output:
[String: '<ul><li>0</li><li>1</li><li>2</li><li>3</li><li>4</li><li>5</li><li>6</li><li>7</li><li>8</li><li>9</li></ul>'] {
[length]: 109,
_stringjsx_sanitized: true
}
It looks more like a String instance with additional properties, and not actually a string.
Metadata
Metadata
Assignees
Labels
No labels