FrontendDeveloper.in

Vue.js question detail

What is the special handling for null values in dynamic directive arguments?

Dynamic argument values are expected to be strings but it allows null as a special value that explicitly indicates that the binding should be removed. Other types will be treated as mistakes and will trigger a warning. So null value can be applied for v-bind and v-on.

Back to all Vue.js questions
Get LinkedIn Premium at Rs 399