Proposal: native XML object support.

ViliusCreator viliuskubilius416 at
Mon May 20 12:01:10 UTC 2019

> With strings and even E4X, you don't get the same experience that react supports. Things like property completion in XML mode, XML internal logic, etc.

Pretty sure you can do this:

// ... xml function definition
 * @type {Element}
 * @prop {string} href
const xmlObj = xml`<a href=”...”>something</a>`

This should make editor auto-complete xml object for you.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the es-discuss mailing list