2 ms·
My favourite solution so far is the @autobind decorator. It's far from native yet, though. And of course, enters the newer decorators feature which drifts ever
by 52-6F-62 9y ago
My favourite solution so far is the @autobind decorator. It's far from native yet, though. And of course, enters the newer decorators feature which drifts ever closer to Java-like syntax to some peoples' chagrin.
https://github.com/andreypopp/autobind-decorator https://github.com/andreypopp/autobind-decorator