riot v4.7.0 Release Notes
Release Date: 2019-11-30 // over 4 years ago-
- 🐎 Update improve performance
➕ Add the
meta
parameter to thecomponent
function to injectslots
andattributes
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: [] } )