You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
PROBLEM: Complex pooling fed screens become unresponsive when they have 4-5 poolers at 2-3 seconds each.
SOLUTION: allow the developer to trigger $apply via $timeout(f(), 0) and allow him to opt out of the $digest cycle on each $http request
PROPOSAL:
$http({...., apply: false}) // by default the $apply will be triggered; if false, it will not be triggered
I can make a PR - just wanted to get in sync with the community, if they reached this problem.
Please mind that I'm forced to consider ReactJS like frameworks due to this limitation.
The text was updated successfully, but these errors were encountered:
dragosrususv
changed the title
feature($http): parameter to avoid triggering $apply on success/fail
feature($http): parameter to avoid triggering $apply
Mar 7, 2016
@Narretz thank you kindly - tried to search before but haven't found the other ticket. I'm glad that this is not new to our community and people are interested in keeping good performance in large angularjs apps.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
PROBLEM: Complex pooling fed screens become unresponsive when they have 4-5 poolers at 2-3 seconds each.
SOLUTION: allow the developer to trigger $apply via $timeout(f(), 0) and allow him to opt out of the $digest cycle on each $http request
PROPOSAL:
$http({...., apply: false}) // by default the $apply will be triggered; if false, it will not be triggered
I can make a PR - just wanted to get in sync with the community, if they reached this problem.
Please mind that I'm forced to consider ReactJS like frameworks due to this limitation.
The text was updated successfully, but these errors were encountered: