Echo JS 0.11.0

<~>
ianwalter 2365 days ago. link 2 points
This looks cool. Only looked at it quickly but could it use a nicer syntax for multiple mixins instead of a bunch of wrapped functions?

Replies

qubyte 2363 days ago. link 3 points
A function could be written to apply list of mixins in one shot.

```
const applyMixins = (object, ...mixins) => mixins.forEach(m => m(object));
```

The way of creating mixins would remain the same underneath though. This library relies on a function call to create a mixin so that a WeakSet is created. This WeakSet is needed to keep a record of objects the mixin is later applied to.