@patrickbrosset yes, I use this very frequently, you can define quick helper such as `const el= (tag, idl= null)=> Object.assign(document.createElement(tag), idl);`. There are unfortunately some drawbacks:

- you can use only IDL (developer.mozilla.org/en-US/do)
- `*.append` returns undefined, so it is not easy to create whole template

BTW, I have WIP side-project github.com/jaandrle/deka-dom-e (jaandrle.github.io/deka-dom-el). There is `assing` function (github.com/jaandrle/deka-dom-e) with improvements