I am trying to use react-gravatar in my project. I did
npm install --save react-gravatar. And in my component, I required it by
import Gravatar from 'react-gravatar';
But when I try to render the component, I get:
Uncaught Error: Cannot find module 'querystring'
I think it is because
querystring is not available on the client side. In a nodejs project, I would just use gulp and reactify to transform my component to make
querystring available. How can I do so in Meteor?
I saw instructions on how to use
cosmos:browserify from react-in-meteor guide. Does this still apply in Meteor 1.3?