title: React Native: How to export a method with a return value?
body: <p>What is the best way to export a method with a return value in React Native?</p>
  
  <p>I know there is <code>RCT_EXPORT_METHOD</code>, but that only works for methods that are <code>(void)</code> and therefore don't return anything. Preferably I don't need to export the whole class, just a few methods.</p>
  
  <p>The other option would be to have a callback, but I would like to avoid that if possible as it bloats up the code too much in my use case. Are there are any other options I might have missed?</p>