react-offline-sync
React offline sync with redux and reactstrap.
Last updated 9 months ago by rishabh-systango .
MIT · Original npm · Tarball · package.json
$ cnpm install react-offline-sync 
SYNC missed versions from official npm registry.

react-offline-sync

React offline sync with redux and reactstrap.

demo

Description

  • This app aims to provide solution for offline syncing the app without hindering user interaction.

  • Wrap you components using HOC withPendingRequest ( ./src/withPendingRequest ).

  • The HOC handles api calls as user gets back online.

Usage

Step: 1 import withPendingRequest from 'react-offline-sync'; step: 2 export default connect(mapStateToProps, mapDispatchToProps)(withPendingRequest(Home)); step: 3 import offlineMiddleware from 'react-offline-sync'; step: 4 applyMiddleware(offlineMiddleware);

Installation

  1. Clone or Download the repository

$ git clone https://github.com/SystangoTechnologies/react-offline-sync.git

  1. Start the app

$ npm start

Your app should now be running on localhost:8000

Contributors

License

Built under MIT license.

Current Tags

  • 1.1.5                                ...           latest (9 months ago)

7 Versions

  • 1.1.5                                ...           9 months ago
  • 1.1.3                                ...           9 months ago
  • 1.1.2                                ...           9 months ago
  • 1.1.1                                ...           9 months ago
  • 1.1.0                                ...           9 months ago
  • 1.0.1                                ...           10 months ago
  • 1.0.0                                ...           10 months ago
Maintainers (1)
Downloads
Today 0
This Week 1
This Month 1
Last Day 0
Last Week 0
Last Month 8
Dependencies (35)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |