Each branch shows how to implement Cycle.js server rendering with some of the most common drivers.
- DOM-only (master) - using
@cycle/dom
, butcycle-snabbdom
works the same way - DOM & HTTP - using
@cycle/dom
and@cycle/http
- DOM & HTTP & History - using
@cycle/dom
,@cycle/http
, and@cycle/history
The code is thoroughly commented to the best of my understanding. Please feel free to add more comments and fill in the gaps!
Clone the repo, check out the desired branch, then...
npm install
npm start