domc
domc copied to clipboard
DOM compiler
checkout: https://github.com/Freak613/js-framework-benchmark/tree/master/frameworks/keyed/domc
I have a template like this: ``` {{name}} {{status}} ``` When this is rendered I get: ``` Some one Offline ``` How can I put the inline style inside the...
My fear is that using Custom Elements in `domc` (which uses `cloneNode`) will result in errors/bugs due to certain things like JS props not being cloned to the new nodes....
Could not find any examples. ``` update: scope => { return { someCond: scope.localVar === 'me' ? 'yes' : 'no' } }, ``` This is just variable change.
Right now, it seems that slots only support native elements. Are there any plans to support Components?
As mentioned in the [related issue](https://github.com/Freak613/domc/issues/14), I've implemented (and documented) conditional rendering based on a "v-if" directive. Here it comes!