Skip to content

v0.3.0

Compare
Choose a tag to compare
@liximomo liximomo released this 02 Sep 09:00
  • Improve TypeScript type definitions.
  • Fix context.slots not being avaliable before render #84.

Changed

The render function returned from setup no longer receives any parameters.

Previous

export default {
  setup() {
    return props => h('div', prop.msg);
  },
};

Now

export default {
  setup(props) {
    return () => h('div', prop.msg);
  },
};