export function isStateless(component) {
  return !component.prototype.render;
}

export function isStateless(component) {
  // `function() {}` has prototype, but `() => {}` doesn't
  // `() => {}` via Babel has prototype too.
  return !(component.prototype && component.prototype.render);
}

Fix isStateless check for native arrow func
Fix isStateless check for native arrow func
