Skip to content

rammano3/redux-react-koa-isomorphic-counter-example

 
 

Repository files navigation

What is this?

Versioning follows the version redux.

Bundled with Redux is an example application called counter.

This is an isomorphic port of the counter app using Koa. It uses isomorphic-fectch to load the initial state on the server, and update the state from the client. Data retrieved and set via POSTs and GETs to and from the API (src/server/api.js).

Installing

git clone [email protected]:khtdr/redux-react-koa-isomorphic-counter-example.git
cd redux-react-koa-isomorphic-counter-example.git
npm install

Running

  • prod: npm start
  • dev: npm run dev

Using

  • Open http://localhost:3000
  • Press the buttons a few times
  • Reload page and inspect source to see the value in the HTML source

Credits

Based off the following ideas, code, examples:

About

Isomorphic port of the redux counter app

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 84.0%
  • HTML 8.0%
  • Makefile 8.0%