Code Monkey home page Code Monkey logo

fast-bind's Introduction

fast-bind

Alternatives to AngularJS's built-in bindings that avoid taxing the digest cycle

fast-bind's People

Contributors

ebrentnelson avatar kseamon avatar lgalfaso avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

fast-bind's Issues

ng-repeat performance

Thanks for sharing Karl.

I'd love to see fast-bind-once and fast-bind-on-notify become a standard part of AngularJS!!!

Have you tested fast-bind-on-notify on large ng-repeats? From what I understand ng-repeat applies a $watchCollection to the entire dataset, so it may be dirty checking everything, even if I use only fast-bind-on-notify within the repeat.

Would it be necessary to re-write ng-repeat to really get the performance benefits?

Please see my question on Github and feel free to add an answer. Your solution is the best I've seen so far.

http://stackoverflow.com/questions/20542521/prevent-angularjs-from-dirty-checking-several-thousand-rows-each-digest-cycle

Thanks,

  • Colin

fast-bind-attr-once not working on 1st item in the list

Hi - Firstly I'd like to thank you for these directives.
They've removed hundreds of watchers off some of my heavier pages.

I have found a small issue with the 'fastBindAttrOnce' directive.
I have a list of users and I tried to use that directive to remove the watcher for their profile pic.
However, for some reason the first user is always missing a picture.

I've created a Plunker here to demo the issue.
Could anyone share any light onto why this is happening.

http://plnkr.co/edit/u33lpq3YpoeHPmltwZwb?p=preview

The example repeats 1-5 but only 4 images appear with the first image missing again.

Thanks

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.