React Offline Example
This repo contains an example of React Redux offline. Read full tutorial at here: http://jslancer.com/blog/2017/05/23/no-internet-no-problem/
Usages
Yarn
git clone https://github.com/davidtran/react-todo-offline
yarn install
yarn start
NPM
git clone https://github.com/davidtran/react-todo-offline
npm install
npm start
Step to test:
- Clone and run the example.
- Disconnect your computer from internet.
- Add some todos. Your todos will be stored in localStorage and is waiting to save to server.
- Turn on internet again. redux-offline will call API to store our todos to server.
Author
David Tran http://jslancer.com