andreypopp

andreypopp/autobind-decorator

Decorator to automatically bind methods to class instances

JavaScript
1451
66
MIT License

autobind-decorator is a JavaScript library that provides decorators for automatically binding class methods to their instances, ensuring the correct context for `this` even when methods are detached. It is particularly useful for React developers who frequently pass methods as event handlers, eliminating the need for manual `.bind(this)` calls. The library supports modern JavaScript environments and is compatible with Babel and TypeScript.

Total donated
Undistributed
Share with your subscribers:

Recipients

How the donated funds are distributed

Support the dependencies

Support the repos that depend on this repository

Top contributors

stevemao's profile
stevemao
59 contributions
andreypopp's profile
andreypopp
21 contributions
domarmstrong's profile
domarmstrong
9 contributions
gaearon's profile
gaearon
2 contributions
MNBuyskih's profile
MNBuyskih
2 contributions
aldendaniels's profile
aldendaniels
1 contributions
chentsulin's profile
chentsulin
1 contributions
jakeboone02's profile
jakeboone02
1 contributions
kesha-antonov's profile
kesha-antonov
1 contributions
blaremc's profile
blaremc
1 contributions

Recent events

Kivach works on the Obyte network, and therefore you can track all donations.

No events yet