azu / azu/ui-event-observer

Proposal: plugin system

Open
#1 0 comments 2 reactions 0 assignees View on GitHub
help wanted
Dominant language
JavaScript
Stars
61
Forks
1
PR merge metrics
No merged PRs in 30d

Description

[yahoo/subscribe-ui-event](https://github.com/yahoo/subscribe-ui-event) provide some function that throttling, caching etc.. by **default**.
We want to the feature by **plugin**.

API Design example:

``` js
const eventObserver = require("ui-event-observer");
const throttling = require("ui-event-observer-plugin-throttling");
eventObserver
.use(throttling({ time: 200 }))
```

The plugin system is similar with [Connect](https://github.com/senchalabs/connect) I think.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reviewing the current eventObserver API and the proposed .use(throttling({ time: 200 })) example. Compare the desired plugin behavior with the Connect plugin model linked in the issue. Done means agreeing on a plugin API and implementing default-extensible behavior for features such as throttling and caching.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.