React Native Nested Comments With Line Indicators
Uses reanimated 2 to collapse comments, react-native-svg for the line drawing and FlatList
Code and typings are rough and maybe ugly, for sure it can be improved. It’s just an MVP to get it working. If you have suggestions or improvements feel free to Pull Request.
Supports 2 level of nesting like major social apps.
Battle tested with hundreds of comments with 0 lag.
The struggle to built it was real…