How to use the Component function from preact

Find comprehensive JavaScript preact.Component code examples handpicked from public code repositorys.

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;
fork icon5
star icon6
watch icon9

+ 3 other calls in file