GitXplorerGitXplorer
p

hn-react

public
118 stars
15 forks
1 issues

Commits

List of commits on branch master.
Unverified
310aa3430349de3ff84e95bfaea3e8db5219747a

use bebelify instead of reactify

pprabirshrestha committed 10 years ago
Unverified
f6526c5003391931b8428ba94cce517d984b6bd6

fixed hackernews api

pprabirshrestha committed 10 years ago
Unverified
30863299a2b235fa0ac6a1120682c08ad075d648

Added sample jest test for footer

pprabirshrestha committed 10 years ago
Unverified
61fd24ef596cb2091e7fc52b561be88cc57f328b

updated react to v0.12.0 and reactify to v0.15.2

pprabirshrestha committed 10 years ago
Unverified
bba67ebf2f4496178fa368c4f44e8b7849115027

updated to react v0.12.0-rc1

pprabirshrestha committed 10 years ago
Unverified
1a5de26e371dadae2fdaff013eb9b84ffc6b1217

Merge pull request #1 from Kaizhi/master

pprabirshrestha committed 10 years ago

README

The README file for this repository.

Hacker News Client built using ReactJS

This is a port of the Hacker News Client writter in AngularJS. https://coderwall.com/p/0pfmvq. Source code of the angular port can be found at https://github.com/codealpha/hn-angular.

What this sample isn't

  • Not meant to be compared with the angular js port
  • show best practices

What this sample is

  • shows how to use the streaming build system - gulp.js
  • use browserify - browser-side require() the node.js way
  • use babel to help tranform jsx syntax to js
  • use gulp-concat
  • use-gulp-imagemin
  • shows how to split different components in different file
  • also shows how to define multiple components in the same file

Running the sample

npm install -g gulp
npm install
gulp dev

To build only use gulp build.

Running tests

npm install -g jest-cli
npm test