On Github Raynos / jsconf2014-talk
npm is a package manager for JavaScript. It allows for easily authoring small modules without dependency hell
Developers should build a program out of simple parts connected by well defined interfaces, so problems are local, and parts of the program can be replaced in future versions to support new features. This rule aims to save time on debugging code that is complex, long, and unreadable.
The why?
The where?
Building a little app with modules
A small spinner appPeople can re-use & expand on the small modules you build
A module that does one thing, sends http requests
Observable & Immutable state
Representing input
Rendering the view
Publishing UI components as modules
Using a github widget moduleBuilding your own unidirectional app with modules
A unidirectional demo