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.
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:
npm install
node server.js
pip install -r requirements.txt
python server.py
ruby server.rb
php server.php
go run server.go
The original React version is at http://localhost:3000/. The Knockout version is at http://localhost:3000/index-ko.html.