I am not able to configure pusher and fetch using npm in reactjs.Also,is there any way to use cdn inside your react code?
Finally i came up with a very simple answer
install npm pusher-js,es6-promise and isomorphic-fetch and import it as
var Pusher=require('pusher-js'); var fetch=require('isomorphic-fetch'); require('es6-promise').polyfill();