/cycle-server-rendering

Cycle.js Server-Side Rendering Demos

Primary LanguageJavaScriptMIT LicenseMIT

Cycle.js Server-Side Rendering Demos

Description

Each branch shows how to implement Cycle.js server rendering with some of the most common drivers.

  • DOM-only (master) - using @cycle/dom, but cycle-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!

How to Use?

Clone the repo, check out the desired branch, then...

npm install
npm start