UNPKG

fluxel

Version:

An ultra-lightweight, high-performance library for efficient DOM building and dynamic web UIs

9 lines (8 loc) 274 B
import Fluxel from "./index.js"; const Fragment = Fluxel.createComponent((props)=>{ const options = Object.assign({}, props); const children = options.children; delete options.children; return Fluxel.fragment(children, options); }); export default Fragment;