Since many components are deeply nested, I propose a simple way which could reduce the heavily nested structure when the parent component has one child only.
Here is the code generally looks like:
<make-checkable :checked="checked">
<with-animation type="fade" :when="checked">
<blink-that spend="slow">Check Me</blink-that>
</with-animation>
</make-checkable>
Inspired by angular and pipeline, maybe we should implement the same feature in this way:
<blink-that
spend="slow"
v-tag:with-animation
type="fade"
:when="checked"
v-tag:make-checkable
:checked="checked"
>Check Me</blink-that>
How about that?
Although the attributes are unordered, we can use that in SFC only like single tag <component />.
I don't like this.
No.
Most helpful comment
No.