Famous / Famous/famous-angular
fa-scroll-view, watchers and poor performance
- Dominant language
- JavaScript
- Stars
- 1.9k
- Forks
- 267
- PR merge metrics
- No merged PRs in 30d
Description
In fa-scroll-view, as I add more items, the scrolling slows until it becomes unusable or generates a memory error.
Here is the FA code I'm using.
```
```
Changing the layouts between fa-grid-layout or fa-sequential-layout or no layout wrapper did not seem to affect performance either way.
It seems like each item generates 2 watchers as well. So, if I have 40 items, I get 80 watchers, regardless of the content inside of the ng-repeat. Is this expected behavior, or is it my code? Is there something that can be optimized?
Contributor guide
Assessment
This issue has not been assessed yet.