Instagram / Instagram/IGListKit

Reloading ListSectionController inside ListStackedSectionController reloads entire StackedSectionController

Open
#1,008 3 comments 0 reactions 0 assignees View on GitHub
question
Dominant language
Objective-C
Stars
13.1k
Forks
1.5k
PR merge metrics
No merged PRs in 30d

Description

When reloading a ListSectionController inside a ListStackedSectionController, the entire ListStackedSectionController is reloaded.

*Note: `self` refers to a ListSectionController which is inside a ListStackedSectionController*
```swift
self.collectionContext?.performBatch(animated: true, updates: { (batchContext) in
batchContext.reload(self)
})
```

### General information

- `IGListKit` version: 3.1.1

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.