<button on:click='foo()'></button>
<script>
export default {
methods: {
foo: () => {
this.set({ a: 1 });
}
};
</script>