Skip to content

sl2/React-HackerNews

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

React + PubSubJS

A Hacker News implementation built on React and PubSub

Why PubSub pattern?

It's a simple solution to the communication between non-related React's components without the Flux architectural pattern or Parent-Child DOM structure.

PubSub communication

PubSub with React

Facebook way

Parent-child communication

For parent-child communication, simply pass props.

Parent-child communication pattern encapsulate state and relation to a component. But this pattern often cause unnecessary bloated DOM.

Flux

Questions on the stackoverflow

About

Hacker News Example with React.js and PubSub

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages