JSFiddle - React, Tailwind, and code Playground

JavaScript

getUserImage: function(userId) {
	// res returns an id that i want to return
  Meteor.call('getUserImage', userId, (err,res) => res);
  
  // can't do something like this since it's a callback.
  // need a way to inject res back into this computed binding
  return res
}