Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

chunkBy fires of digest every few seconds

Open
#256 2 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
45/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Domain
frontend

Research direction

Look at the chunkBy filter implementation in the angular-filter library, likely in a file like lib/filter/chunkBy.js. Understand how it interacts with AngularJS digest cycles. Reproduce the issue by creating a test case with ng-repeat and chunkBy, then monitor $digest frequency. Determine if the filter is causing unnecessary watchers or not caching results properly.

Written by the indexing model from the issue text.

Description

I'm using chunkBy in an ng-repeat, and I notice that the components are re-rendering every few seconds or so. This doesn't happen if I take the chunkBy out.

Any thoughts on what could be causing it?

I'm doing something like this:

<div class="row" ng-repeat="child in $ctrl.node.children | chunkBy: 2">
....
</div>
Dominant language
JavaScript
Stars
2.9k
Forks
319
PR merge metrics
No merged PRs in 30d

Getting set up

We have not checked this project's setup files yet. Start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from a8m/angular-filter

All issues in a8m/angular-filter

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.