choojs / choojs/nanocomponent

component.use

Open
#44 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
364
Forks
29
PR merge metrics
No merged PRs in 30d

Description

As per our talk 2 weeks ago, it'd be useful to start thinking of `component.use()`.

The goal of this API would be to provide a way to extend components the way we extend `choo` with `app.use()`.

Not quite sure on the API yet, but got a hunch that using an internal event emitter would be the way to go for this. Input very welcome!

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.