Preact Classless Component
If you use the Preact library, but don't want to use the
class syntax because you've read articles by Eric Elliott and others that have lead you to favour object composition over class inheritance, then this utility is for you.
$ npm install --save preact-classless-component
/* ES6 Modules */;/* CommonJS */const createComponent = ;const Component =;
Thanks to Jason Miller for his help on debugging this function.