riot v4.7.0 Release Notes

Release Date: 2019-11-30 // over 2 years ago
    • 🐎 Update improve performance
    • ➕ Add the meta parameter to the component function to inject slots and attributes

      import { component } from 'riot'import App from './App.riot'const app = component(App)app( document.querySelector('app'), { message: 'hello' }, // slots and attributes should be valid @riotjs/dom-bindings objects { slots: [], attributes: [] } )