Simple recursive component class with template rendering and hooks.
This package is part of quark framework but it can be used independently.
npm install quark-component --saveimport { Component } from 'quark-component'
const rootComponent = new Component({ el: '#root' })To be written...
See https://fm-ph.github.io/quark-component/
To build the sources with babel in ./lib directory :
npm run buildTo generate the JSDoc :
npm run docsTo generate the documentation and deploy on gh-pages branch :
npm run docs:deployTo run the tests, first clone the repository and install its dependencies :
git clone https://github.com/fm_ph/quark-component.git
cd quark-component
npm installThen, run the tests :
npm testTo watch (test-driven development) :
npm run test:watchFor coverage :
npm run test:coverageMIT License ยฉ Patrick Heng Fabien Motte