Hi Dale Jefferson, this is great! I had the same problem — and actually ended up taking it one step farther, creating a full wrapper for ListView
. It takes Immutable data as props and renders it properly, creating the dataSource
for you behind the scenes:
https://github.com/cooperka/react-native-immutable-list-view
You’re free to take any learnings from it and integrate it into your own dataSource
, if you like. It handles section headers as well. Cheers!