Search results

34 packages found

Method auto-bind for ES6 (ES2015) classes

published version 0.1.4, 9 years ago96 dependents licensed under $ISC
165,449

The fastest automatic method.bind(this) decorator

published version 1.0.11, 8 years ago172 dependents licensed under $MIT
328,991

Library of JavaScript stage-0 decorators (aka ES2016/ES7 decorators but that's not accurate!) inspired by languages that come with built-ins like @​override, @​deprecate, @​autobind, @​mixin and more! Works great with React/Angular/more!

published version 0.20.0, 7 years ago491 dependents licensed under $MIT
192,418

Auto bind instance methods of classes.

published version 1.0.5, 6 years ago76 dependents licensed under $MIT
26,167

A small framework-agnostic utility for auto-binding "class" methods to instances (with customization options) using either "legacy" decorator syntax or plain old ES5 (without needing ES2015+ polyfills).

published version 3.0.1, 7 years ago17 dependents licensed under $MIT
8,340

Useful components and utilities for working with React

published version 3.0.1, 2 years ago9 dependents licensed under $MIT
3,854

Babel plugin that binds every class method to "this" with hot reload support

published version 5.0.1, 8 years ago4 dependents licensed under $MIT
2,065

Fixes class methods so that they can be extracted with out worrying about breaking the connection to "this".

published version 1.0.7, 8 years ago1 dependents licensed under $Public Domain
925

Decorator for creating bound methods

published version 1.1.1, 3 years ago3 dependents licensed under $ISC
233

A carefully crafted base class for all your React components

published version 4.0.6, 7 years ago5 dependents licensed under $MIT
63

Method auto-bind for TypeScript

published version 0.3.2, 4 years ago1 dependents licensed under $ISC
78

it binds methods to its class prototype + Compatible with stub/spy used on unit-test frameworks (Sinon.Js, enzyme,...so on) + Can be integrated with 3rd party decorators (like @autobind decorator)

published version 0.3.4, 8 years ago3 dependents licensed under $MIT
64

Small utility function to automatically bind class methods to instances

published version 1.0.6, 7 years ago0 dependents licensed under $MIT
51

Binding class properties and passing additional params to callback made easy.

published version 0.2.0, 8 years ago0 dependents licensed under $MIT
40

Binds methods to their class instance automagically

published version 1.0.10, 6 years ago0 dependents licensed under $MIT
45

is a helper to bind a list of methods to an object reference

published version 1.0.2, 7 years ago3 dependents licensed under $MIT
33

ES5 function wrappers and ES7/ES2016 decorators.Works great with React/Angular/more!

published version 1.1.5, 9 years ago0 dependents licensed under $MIT
27

A babel plugin to auto bind you class methods

published version 0.1.1, 7 years ago0 dependents licensed under $MIT
30

A "One Stop Shop" ( hub ) of React @Decorators!

published version 0.0.2-RC1, 8 years ago0 dependents licensed under $MIT
19

Easiest way to bind ES6 Class methods (by using array of methods names)

published version 1.0.2, 8 years ago2 dependents licensed under $ISC
21