https://github.com/kelset/test-rn-sortable-lists
Couple test implementations of sortable lists
https://github.com/kelset/test-rn-sortable-lists
react-native sortable-list
Last synced: 13 days ago
JSON representation
Couple test implementations of sortable lists
- Host: GitHub
- URL: https://github.com/kelset/test-rn-sortable-lists
- Owner: kelset
- Created: 2018-10-10T15:24:41.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-10-15T09:58:00.000Z (over 7 years ago)
- Last Synced: 2025-10-07T04:43:41.682Z (8 months ago)
- Topics: react-native, sortable-list
- Language: JavaScript
- Size: 3.32 MB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Sortable lists in React Native
This is but a sample project that wants to reach a performant list with the ability to sort via drag-n-drop.
The code in here is really ugly, as I am trying to minimize the API needed for the "sortable list component".
If you want to take a look at it, please feel free but, again, I'm not really proud of the code here atm.
## Demo

## TODO
- [ ] make the code less ugly, atm is unwatchable
- [ ] migrate to actually use [react-native-reanimated](https://github.com/kmagiera/react-native-reanimated) for the list
### Acknowledgements
The examples in this lib are based on:
- Reanimated Example folder
- @gyetvan-andras's [react-native-dnd-list](https://github.com/gyetvan-andras/react-native-dnd-list) sample implementation
- @vTrip's [FlatListSortable](https://github.com/vTrip/FlatListSortable) fork of @deanmcpherson's [react-native-sortable-listview](https://github.com/deanmcpherson/react-native-sortable-listview)
Thanks for sharing your code, you are all awesome!