An open API service indexing awesome lists of open source software.

https://github.com/Robdel12/robotImpagination

An example of how to use Impagination.js in React Native
https://github.com/Robdel12/robotImpagination

Last synced: about 1 year ago
JSON representation

An example of how to use Impagination.js in React Native

Awesome Lists containing this project

README

          

# Robot Impagination

This repo demostrates how to
use [Impagination.js](https://github.com/flexyford/impagination)
within a React Native project. Impagination is a lazy data layer for
your paged records. Basically it does the work for requesting data to
a paginated API.

### GIF Demos
![React Native with Impagination.js iOS](http://g.recordit.co/9laxfHJQwk.gif)
![React Native with Impagination.js Android](http://g.recordit.co/ZUEhuneoa5.gif)

### Development instructions

These setup instructions assume you've already setup your environment
for React Native development. If you haven't done that I recommend
looking over
their
[getting started docs.](https://facebook.github.io/react-native/docs/getting-started.html)

**iOS**

- Clone the repo `git clone
git@github.com:Robdel12/robotImpagination.git`
- cd into the directory `cd robotImpagination`
- Install the dependencies `yarn`
- Open the project in xcode (the xcode file lives in the `ios` folder)
- Build the project
- ???
- 🎉

**Android**

- Clone the repo `git clone
git@github.com:Robdel12/robotImpagination.git`
- cd into the directory `cd robotImpagination`
- Install the dependencies `yarn`
- Run `react-native run-android`
- ???
- 🎉