Commit 6975abe
authored
feat: Message list pagination implementation using hasPrev and hasNext (#2799)
* refactor: remove stale subscriber count logic and types refactor (#2782)
* feat: new message list pagination implementation
* fix: channel state initial data
* fix: revert back the onStartReached change
* fix: lint and tests
* fix: added tests for the hooks and message pagination
* fix: podlock file for sample app
* fix: throttle logic for the copy message state
* fix: add back channel.deleted event
* fix: useeffect deps1 parent 9692f1a commit 6975abe
File tree
17 files changed
+1685
-1058
lines changed- examples/SampleApp/src
- package/src
- components
- Channel
- __tests__
- hooks
- MessageList
- __tests__
- __snapshots__
- Thread/__tests__/__snapshots__
- contexts
- channelContext
- channelsStateContext
- paginatedMessageListContext
17 files changed
+1685
-1058
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
| 12 | + | |
11 | 13 | | |
12 | 14 | | |
13 | 15 | | |
| |||
41 | 43 | | |
42 | 44 | | |
43 | 45 | | |
44 | | - | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
45 | 51 | | |
46 | 52 | | |
47 | 53 | | |
| |||
0 commit comments