How to use the Component function from preact
Find comprehensive JavaScript preact.Component code examples handpicked from public code repositorys.
GitHub: groupon/phy

120 121 122 123 124 125 126
/** @type {import('./typedefs')} */ module.exports = exports = h.bind(null, preact.createElement); exports.h = exports; exports.isVNode = isPreactNode; exports.Component = preact.Component; exports.render = preact.render;
+ 3 other calls in file
preact.options is the most popular function in preact (790 examples)