Displaying 1 to 2 from 2 results

weakbind - Memoized bind for higher performance.

  •    Javascript

Memoized bind for higher performance. It's a replacement for the native bind method, but with the distinction that it always returns the same function instead. This is especially useful in React where you pass callbacks down the tree and creating a new instance invalidates your shouldComponentUpdate checks.

memoize-bind - Memoized function binding for React

  •    Javascript

memoize-bind performs the same job as Function.prototype.bind(), however it memoizes the result for future reference. This ensures that calling memoize-bind repeatedly with the same arguments will always return the same bound function, which can be particularly useful within React.js render methods (see below).

We have large collection of open source products. Follow the tags from Tag Cloud >>

Open source products are scattered around the web. Please provide information about the open source projects you own / you use. Add Projects.