Dispatcher를 만들어보자.
파일이름은 app-dispatcher.js로 작성한다.
app-dispatcher.js
var Dispatcher = require('flux').Dispatcher; module.exports = new Dispatcher();
끝이다.
너무 간단해서 놀랄수도 있지만 진짜 끝이다.
flux 라이브러리에서 dispatcher Property(Factory)를 가져와서
생성해주면 된다.