this component is basically a fork of the native ThreadList component
the differences are, the new component:
- renders CommunityListItems
- does not have an onSelect (we may consider adding this in the future to display community info)
- does not have a searchRef (we don't want to call focus() on the textInput, keyboard should not display unless user presses search bar)
Depends on D13994
I thought putting an invariant here was a reasonable trade-off vs. refactoring the types in the fullStateSyncActionType payload (specifically StateSyncFullActionPayload which is derived from ClientFullStateSync which is derived from BaseFullStateSync) which are used across clients and keyserver.
Open to re-exploring if that would be preferred.