Package Exports
- react-native-immutable-list-view
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (react-native-immutable-list-view) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
React Native Immutable ListView
A ListView for React Native that's compatible with Immutable data.
Setup
npm install --save react-native-immutable-list-view
Usage
import ImmutableListView from 'react-native-immutable-list-view';ImmutableListView supports all the props of ListView,
but instead of passing in a dataSource, you should should pass in a prop called immutableData
containing the data you'd like to display. ImmutableListView will handle creating an efficient dataSource for you.
Other than this small change, everything else will be exactly the same as ListView.
An example is coming shortly.
Note: Currently only Maps and Lists are supported, but that will be fixed shortly. Feel free to submit a PR!
Contributing
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature - Commit your changes:
git commit -am 'Add some feature' - Push to the branch:
git push origin my-new-feature - Submit a pull request :D