v-bind="$props"

Quick tip # 19, if you are lazy like me.

If you need to bind all props to a inner component like this:

<input :placeholder="placeholder" :required="required" :value="value">

You instead can do this:

<input v-bind="$props">

But only if defined in props.

One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.