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/
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
- 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.
David Tran http://jslancer.com