Skip to content

Code from the React tutorial, with Knockout comparison

Notifications You must be signed in to change notification settings

wrschneider/react-tutorial

 
 

Repository files navigation

React tutorial with port to Knockout

I re-implemented the React comment box example from the React tutorial, using Knockout.js, so I could compare what the Knockout version would look like.

To use

There are several simple server implementations included. They all serve static files from public/ and handle requests to comments.json to fetch or add data. Start a server with one of the following:

Node

npm install
node server.js

Python

pip install -r requirements.txt
python server.py

Ruby

ruby server.rb

PHP

php server.php

Go

go run server.go

The original React version is at http://localhost:3000/. The Knockout version is at http://localhost:3000/index-ko.html.

About

Code from the React tutorial, with Knockout comparison

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 44.4%
  • Go 15.3%
  • HTML 11.8%
  • Python 8.3%
  • Ruby 7.9%
  • PHP 7.0%
  • CSS 5.3%