<h3 dir="auto">What problem does this feature solve?</h3>
<p dir="auto">Actually we use <code class="notranslate">:bool-prop="false"</code>. What would be the chances of implementing <code class="notranslate">!bool-prop</code>?</p>
<h3 dir="auto">What does the proposed API look like?</h3>
<p dir="auto">Instead of</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="&lt;button :ripple=&quot;false&quot;&gt;Download&lt;/button&gt;"><pre class="notranslate"><span class="pl-c1">&lt;</span><span class="pl-s1">button</span> :<span class="pl-s1">ripple</span><span class="pl-c1">=</span><span class="pl-s">"false"</span><span class="pl-c1">&gt;</span><span class="pl-v">Download</span><span class="pl-c1">&lt;</span><span class="pl-c1">/</span>button&gt;</pre></div>
<p dir="auto">Would be</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="&lt;button !ripple&gt;Download&lt;/button&gt;"><pre class="notranslate"><span class="pl-c1">&lt;</span><span class="pl-ent">button</span> <span class="pl-c1">!</span><span class="pl-c1">ripple</span><span class="pl-c1">&gt;</span>Download<span class="pl-c1">&lt;</span><span class="pl-c1">/</span><span class="pl-ent">button</span><span class="pl-c1">&gt;</span></pre></div>
<p dir="auto">Think of several props in the same element.</p>
<h3 dir="auto">What problem does this feature solve?</h3>
<p dir="auto">我有一个类似于qq聊天的窗体，聊天框需要缓存用户行为（滚动条位置、输入框内容等），keepalive渲染的组件都是同一个，只是加了不同的key，用keepalive可以实现我的需求的，当我关闭某个用户的聊天窗口时，配置include时缓存是没法清除；<br>
我的组件结构如下：</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="&lt;keep-alive :include=&quot;included&quot;&gt;
    &lt;chat v-if=&quot;_interlocutor.Key===interlocutor&quot; :interlocutor=&quot;_interlocutor&quot;
                      :key=&quot;_interlocutor.Key&quot; v-for=&quot;_interlocutor in interlocutors&quot;/&gt;
&lt;/keep-alive&gt;"><pre class="notranslate"><code class="notranslate">&lt;keep-alive :include="included"&gt;
    &lt;chat v-if="_interlocutor.Key===interlocutor" :interlocutor="_interlocutor"
                      :key="_interlocutor.Key" v-for="_interlocutor in interlocutors"/&gt;
&lt;/keep-alive&gt;
</code></pre></div>
<p dir="auto">现在只能通过_vnode.componentInstance获取到keys,和cache，在程序中自己来处理。处理起来比较麻烦。</p>
<h3 dir="auto">What does the proposed API look like?</h3>
<p dir="auto">看代码发现include和exclude的配置都是判断的组件name，能否增加include和exclude对key的支持。</p>