Answer the question
In order to leave comments, you need to log in
Why doesn't Dispatcher (flux/react) connect?
I connect Dispatcher like this:
npm i flux
var Dispatcher = require('flux').Dispatcher;
module.exports = new Dispatcher();
Uncaught ReferenceError: require is not defined
Answer the question
In order to leave comments, you need to log in
The require function is missing. Connect first where it should come from.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question